From: Dale Weiler Date: Sat, 27 Sep 2014 05:52:33 +0000 (-0400) Subject: Make that unsigned X-Git-Tag: xonotic-v0.8.1~9^2~17 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a502a5453fe7ef7c1a298bd3097a160a6ecda860;p=xonotic%2Fgmqcc.git Make that unsigned --- diff --git a/gmqcc.h b/gmqcc.h index 7834a24..5f1bdb3 100644 --- a/gmqcc.h +++ b/gmqcc.h @@ -987,7 +987,7 @@ typedef struct { extern opts_cmd_t opts; -#define OPTS_GENERIC(f,i) (!! (((f)[(i)/32]) & (1<< (unsigned)((i)%32)))) +#define OPTS_GENERIC(f,i) (!! (((f)[(i)/32]) & (1U << (unsigned)((i)%32)))) #define OPTS_FLAG(i) OPTS_GENERIC(opts.flags, (i)) #define OPTS_WARN(i) OPTS_GENERIC(opts.warn, (i))