Change the type of 1 bit wide bitfields to unsigned.
This commit is contained in:
parent
3a117bccd8
commit
d40517cb18
|
@ -65,8 +65,8 @@ struct privilege
|
|||
{
|
||||
struct list entry;
|
||||
LUID luid;
|
||||
int enabled : 1; /* is the privilege currently enabled? */
|
||||
int def : 1; /* is the privilege enabled by default? */
|
||||
unsigned enabled : 1; /* is the privilege currently enabled? */
|
||||
unsigned def : 1; /* is the privilege enabled by default? */
|
||||
};
|
||||
|
||||
static void token_dump( struct object *obj, int verbose );
|
||||
|
|
|
@ -535,13 +535,13 @@ typedef struct versioninfo {
|
|||
int filetype;
|
||||
int filesubtype;
|
||||
struct {
|
||||
int fv:1;
|
||||
int pv:1;
|
||||
int fo:1;
|
||||
int ff:1;
|
||||
int ffm:1;
|
||||
int ft:1;
|
||||
int fst:1;
|
||||
unsigned fv:1;
|
||||
unsigned pv:1;
|
||||
unsigned fo:1;
|
||||
unsigned ff:1;
|
||||
unsigned ffm:1;
|
||||
unsigned ft:1;
|
||||
unsigned fst:1;
|
||||
} gotit;
|
||||
ver_block_t *blocks;
|
||||
lvc_t lvc;
|
||||
|
|
Loading…
Reference in New Issue