Author: mechtilde
Date: Wed Jan  9 20:57:59 2019
New Revision: 1850909

URL: http://svn.apache.org/viewvc?rev=1850909&view=rev
Log:
set 0u - so it build under Debian 9 too - thanks Damjan ffor the hint

Modified:
    openoffice/trunk/main/basebmp/inc/basebmp/packedpixeliterator.hxx

Modified: openoffice/trunk/main/basebmp/inc/basebmp/packedpixeliterator.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/basebmp/inc/basebmp/packedpixeliterator.hxx?rev=1850909&r1=1850908&r2=1850909&view=diff
==============================================================================
--- openoffice/trunk/main/basebmp/inc/basebmp/packedpixeliterator.hxx (original)
+++ openoffice/trunk/main/basebmp/inc/basebmp/packedpixeliterator.hxx Wed Jan  
9 20:57:59 2019
@@ -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


Reply via email to