declare 1-bit bitfields to be unsigned
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 16 Mar 2011 03:42:32 +0000 (22:42 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Mar 2011 05:24:29 +0000 (22:24 -0700)
commit9ddf17268c632967abf2dadf9fa2b9d11dcc1867
tree49fe8583570152b0e69b5f8ca43963589f69d82f
parentf577b92fe75643228674c0dcb2a4747587cf541d
declare 1-bit bitfields to be unsigned

As "gcc -pedantic" notices, a two's complement 1-bit signed integer
cannot represent the value '1'.

 dir.c: In function 'init_pathspec':
 dir.c:1291:4: warning: overflow in implicit constant conversion [-Woverflow]

In the spirit of v1.7.1-rc1~10 (2010-04-06), 'unsigned' is what was
intended, so let's make the flags unsigned.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h