diff options
author | Dave Jones <davej@codemonkey.org.uk> | 2003-05-14 06:42:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-14 06:42:55 -0700 |
commit | b4ffe57ab62adce654cd1b00631152e549006b98 (patch) | |
tree | b9f4d5b97b657442ac29fc11ef9db65d67b660cf /lib | |
parent | 6467399478262f679c826ca2c25ded410f788074 (diff) | |
download | history-b4ffe57ab62adce654cd1b00631152e549006b98.tar.gz |
[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"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/inflate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inflate.c b/lib/inflate.c index 98ff41833ea3a2..4d48e61c2490ae 100644 --- a/lib/inflate.c +++ b/lib/inflate.c @@ -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 */ |