aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDave Jones <davej@codemonkey.org.uk>2003-05-14 06:42:55 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-14 06:42:55 -0700
commitb4ffe57ab62adce654cd1b00631152e549006b98 (patch)
treeb9f4d5b97b657442ac29fc11ef9db65d67b660cf /lib
parent6467399478262f679c826ca2c25ded410f788074 (diff)
downloadhistory-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.c4
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 */