Make that unsigned

This commit is contained in:
Dale Weiler 2014-09-27 01:52:33 -04:00
parent 2208136403
commit a502a5453f

View file

@ -987,7 +987,7 @@ typedef struct {
extern opts_cmd_t opts; 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_FLAG(i) OPTS_GENERIC(opts.flags, (i))
#define OPTS_WARN(i) OPTS_GENERIC(opts.warn, (i)) #define OPTS_WARN(i) OPTS_GENERIC(opts.warn, (i))