]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix bug #2385 -- compiler bug IMO
authorKern Sibbald <kern@sibbald.com>
Sun, 8 Jul 2018 16:14:45 +0000 (18:14 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 8 Jul 2018 16:15:15 +0000 (18:15 +0200)
bacula/src/streams.h

index 6c1dc972f34156d72b425b0b1603ba4592b4b2a5..a19cdb7329ab1e2f51acba6ce938a658f09fb38e 100644 (file)
@@ -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 */
 /* 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.
 /*
  * Note additional base, bits, and masks can be defined for new     
  *  ranges or subranges of stream attributes.