summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-03-11 16:13:12 +0000
committerDavid Tardon <dtardon@redhat.com>2016-03-15 11:59:36 +0000
commit7b56d707440eec27c785368c65feb341048c4b5a (patch)
tree4feb2d4cd63b23c410a322f5ed0658c135d4ba68 /include
parent8978c75cb0fdb1a5cddbe25545f0455074afecf6 (diff)
enable build with gcc 6
Change-Id: I391550d243ae7f773d988cb36f45c482d0c97145 Reviewed-on: https://gerrit.libreoffice.org/23153 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/basebmp/packedpixeliterator.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/basebmp/packedpixeliterator.hxx b/include/basebmp/packedpixeliterator.hxx
index a536cec01012..1b99bf9d97ab 100644
--- a/include/basebmp/packedpixeliterator.hxx
+++ b/include/basebmp/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:
@@ -248,7 +248,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:
@@ -501,7 +501,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