Commit b4ffe57a authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] Fix types on inflate.c constants

This patch from Alan went into 2.4 last august with the comment
"get the types right on the lib/inflate.c constants"
parent 64673994
......@@ -1015,7 +1015,7 @@ STATIC int inflate(void)
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
......@@ -1055,7 +1055,7 @@ makecrc(void)
}
/* 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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment