From: Kern Sibbald Date: Sun, 8 Jul 2018 16:14:45 +0000 (+0200) Subject: Fix bug #2385 -- compiler bug IMO X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2fac0d5ffbdad84d94e9b39545d4fda6bdfe699d;p=bacula%2Fbacula Fix bug #2385 -- compiler bug IMO --- diff --git a/bacula/src/streams.h b/bacula/src/streams.h index 6c1dc972f3..a19cdb7329 100644 --- a/bacula/src/streams.h +++ b/bacula/src/streams.h @@ -36,7 +36,7 @@ /* TYPE represents our current (old) stream types -- e.g. values 0 - 2047 */ #define STREAMBASE_TYPE 0 /* base for types */ #define STREAMBITS_TYPE 11 /* type bit size */ -#define STREAMMASK_TYPE (~((~0)<< STREAMBITS_TYPE) << STREAMBASE_TYPE) +#define STREAMMASK_TYPE (~((~0u)<< STREAMBITS_TYPE) << STREAMBASE_TYPE) /* * Note additional base, bits, and masks can be defined for new * ranges or subranges of stream attributes.