294826
--- netpbm-10.35/converter/other/xwdtopnm.c.xwdfix	2006-09-18 13:24:50.000000000 +0200
294826
+++ netpbm-10.35/converter/other/xwdtopnm.c	2006-09-18 13:27:26.000000000 +0200
294826
@@ -945,7 +945,7 @@ getpix(pixelReader * const rdrP) {
294826
             unsigned long const bitsToTakeMask = lsbmask[nBitsToTake];
294826
                 /* E.g. if nbitsToTake is 4, this is 0x0000000F */
294826
 
294826
-            unsigned long bitsToTake;
294826
+            unsigned int bitsToTake;
294826
                 /* The actual bits we take, in the 'nBitsToTake' low bits */
294826
 
294826
             assert(nBitsToTake <= 32);