diff options
-rw-r--r-- | basebmp/inc/packedpixeliterator.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basebmp/inc/packedpixeliterator.hxx b/basebmp/inc/packedpixeliterator.hxx index 776a45e8e8f9..d7c6e62e3acf 100644 --- a/basebmp/inc/packedpixeliterator.hxx +++ b/basebmp/inc/packedpixeliterator.hxx @@ -78,7 +78,7 @@ public: num_intraword_positions=sizeof(value_type)*8/bits_per_pixel, /** Bit mask for one pixel (least significant bits) */ - bit_mask=~(~0 << bits_per_pixel) + bit_mask=~(~0U << bits_per_pixel) }; private: @@ -238,7 +238,7 @@ public: num_intraword_positions=sizeof(value_type)*8/bits_per_pixel, /** Bit mask for one pixel (least significant bits) */ - bit_mask=~(~0 << bits_per_pixel) + bit_mask=~(~0U << bits_per_pixel) }; private: @@ -477,7 +477,7 @@ public: num_intraword_positions=sizeof(value_type)*8/bits_per_pixel, /** Bit mask for one pixel (least significant bits) */ - bit_mask=~(~0 << bits_per_pixel) + bit_mask=~(~0U << bits_per_pixel) }; // TODO(F2): direction of iteration (ImageIterator can be made to |