patch-2.4.20 linux-2.4.20/lib/inflate.c

Next file: linux-2.4.20/lib/rwsem-spinlock.c
Previous file: linux-2.4.20/lib/dump_stack.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/lib/inflate.c linux-2.4.20/lib/inflate.c
@@ -1009,7 +1009,7 @@
 
 static ulg crc_32_tab[256];
 static ulg crc;		/* initialized in makecrc() so it'll reside in bss */
-#define CRC_VALUE (crc ^ 0xffffffffL)
+#define CRC_VALUE (crc ^ 0xffffffffUL)
 
 /*
  * Code to compute the CRC-32 table. Borrowed from 
@@ -1049,7 +1049,7 @@
   }
 
   /* this is initialized here so this code could reside in ROM */
-  crc = (ulg)0xffffffffL; /* shift register contents */
+  crc = (ulg)0xffffffffUL; /* shift register contents */
 }
 
 /* gzip flag byte */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)