]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/streams.h
Fix bug #2385 -- compiler bug IMO
[bacula/bacula] / 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 */
-#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.