[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - include/basebmp
Caolán McNamara
caolanm at redhat.com
Tue Mar 15 12:00:00 UTC 2016
include/basebmp/packedpixeliterator.hxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 7b56d707440eec27c785368c65feb341048c4b5a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 11 16:13:12 2016 +0000
enable build with gcc 6
Change-Id: I391550d243ae7f773d988cb36f45c482d0c97145
Reviewed-on: https://gerrit.libreoffice.org/23153
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: David Tardon <dtardon at redhat.com>
diff --git a/include/basebmp/packedpixeliterator.hxx b/include/basebmp/packedpixeliterator.hxx
index a536cec..1b99bf9 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
More information about the Libreoffice-commits
mailing list