Change the type of 1 bit wide bitfields to unsigned.

This commit is contained in:
Michael Stefaniuc 2005-05-09 09:26:28 +00:00 committed by Alexandre Julliard
parent 3a117bccd8
commit d40517cb18
2 changed files with 9 additions and 9 deletions

View File

@ -65,8 +65,8 @@ struct privilege
{ {
struct list entry; struct list entry;
LUID luid; LUID luid;
int enabled : 1; /* is the privilege currently enabled? */ unsigned enabled : 1; /* is the privilege currently enabled? */
int def : 1; /* is the privilege enabled by default? */ unsigned def : 1; /* is the privilege enabled by default? */
}; };
static void token_dump( struct object *obj, int verbose ); static void token_dump( struct object *obj, int verbose );

View File

@ -535,13 +535,13 @@ typedef struct versioninfo {
int filetype; int filetype;
int filesubtype; int filesubtype;
struct { struct {
int fv:1; unsigned fv:1;
int pv:1; unsigned pv:1;
int fo:1; unsigned fo:1;
int ff:1; unsigned ff:1;
int ffm:1; unsigned ffm:1;
int ft:1; unsigned ft:1;
int fst:1; unsigned fst:1;
} gotit; } gotit;
ver_block_t *blocks; ver_block_t *blocks;
lvc_t lvc; lvc_t lvc;