aboutsummaryrefslogtreecommitdiff
path: root/include/flate.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2010-02-07 16:51:28 -0800
committerRuss Cox <rsc@swtch.com>2010-02-07 16:51:28 -0800
commit9a054520852368c0a0d179bedfce60776587a645 (patch)
tree7e81f14ee45eb81ebbfbbd49e119d7f6ee7086c3 /include/flate.h
parent28afa898ee3281afde739c9a09e59264680756ae (diff)
downloadplan9port-9a054520852368c0a0d179bedfce60776587a645.tar.gz
plan9port-9a054520852368c0a0d179bedfce60776587a645.tar.bz2
plan9port-9a054520852368c0a0d179bedfce60776587a645.zip
make flate crc32 work when ulong is 64 bits
R=, rsc CC= http://codereview.appspot.com/203061
Diffstat (limited to 'include/flate.h')
-rw-r--r--include/flate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/flate.h b/include/flate.h
index e908ec25..e4855597 100644
--- a/include/flate.h
+++ b/include/flate.h
@@ -42,10 +42,10 @@ int deflatezlibblock(uchar *dst, int dsize, uchar *src, int ssize, int level, in
char *flateerr(int err);
-ulong *mkcrctab(ulong);
-ulong blockcrc(ulong *tab, ulong crc, void *buf, int n);
+uint32 *mkcrctab(uint32);
+uint32 blockcrc(uint32 *tab, uint32 crc, void *buf, int n);
-ulong adler32(ulong adler, void *buf, int n);
+uint32 adler32(uint32 adler, void *buf, int n);
#if defined(__cplusplus)
}
#endif