You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2019/10/27 07:12:03 UTC

[openoffice] 01/05: set 0u - so it build under Debian 9 too - thanks Damjan ffor the hint

This is an automated email from the ASF dual-hosted git repository.

arielch pushed a commit to branch AOO418
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit bc5cd333d76771b5ada721c541f30d44aea40f81
Author: Mechtilde Stehmann <me...@apache.org>
AuthorDate: Wed Jan 9 20:57:59 2019 +0000

    set 0u - so it build under Debian 9 too - thanks Damjan ffor the hint
    
    git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1850909 13f79535-47bb-0310-9956-ffa450edef68
    (cherry picked from commit aa82d4445d9ec67b82553d5182f6639a46b0b02b)
---
 main/basebmp/inc/basebmp/packedpixeliterator.hxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main/basebmp/inc/basebmp/packedpixeliterator.hxx b/main/basebmp/inc/basebmp/packedpixeliterator.hxx
index 4ad390a..d345fab 100644
--- a/main/basebmp/inc/basebmp/packedpixeliterator.hxx
+++ b/main/basebmp/inc/basebmp/packedpixeliterator.hxx
@@ -83,7 +83,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:
@@ -253,7 +253,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:
@@ -506,7 +506,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