diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-19 10:43:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-19 10:43:21 +0100 |
commit | 352f9fdff619b5a0a1414c29cfc47068165a599c (patch) | |
tree | 244ea49c0497211528bd587109e8101b1e17969e /basebmp/inc/packedpixeliterator.hxx | |
parent | 6b328acbd3a427c4e9e69c081dde4298bd1e775d (diff) |
-Werror=shift-negative-value (GCC 6)
Change-Id: Ifc7b1d6675a8e8fb41dd47cc1282059c3790736f
Diffstat (limited to 'basebmp/inc/packedpixeliterator.hxx')
-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..693f59b51be8 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 |