From 2fac0d5ffbdad84d94e9b39545d4fda6bdfe699d Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 8 Jul 2018 18:14:45 +0200 Subject: [PATCH] Fix bug #2385 -- compiler bug IMO --- bacula/src/streams.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5