diff --git a/server/token.c b/server/token.c index e30f75525bf..e889505a3f5 100644 --- a/server/token.c +++ b/server/token.c @@ -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 ); diff --git a/tools/wrc/wrctypes.h b/tools/wrc/wrctypes.h index e7eb9a4b283..d776d268879 100644 --- a/tools/wrc/wrctypes.h +++ b/tools/wrc/wrctypes.h @@ -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;