From 7349ad5b6f0534daa29eb54d13b0052f1d6d96b9 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 28 Oct 2005 09:25:54 +0000 Subject: Misc. type fixes --- cpukit/zlib/crc32.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cpukit/zlib/crc32.c') diff --git a/cpukit/zlib/crc32.c b/cpukit/zlib/crc32.c index eeb2147653..51d5504035 100644 --- a/cpukit/zlib/crc32.c +++ b/cpukit/zlib/crc32.c @@ -201,13 +201,13 @@ local void write_table(out, table) /* ========================================================================= * This function can be used by asm versions of crc32() */ -const unsigned long FAR * ZEXPORT get_crc_table() +const uLongf * ZEXPORT get_crc_table() { #ifdef DYNAMIC_CRC_TABLE if (crc_table_empty) make_crc_table(); #endif /* DYNAMIC_CRC_TABLE */ - return (const unsigned long FAR *)crc_table; + return (const uLongf *)crc_table; } /* ========================================================================= */ @@ -215,10 +215,10 @@ const unsigned long FAR * ZEXPORT get_crc_table() #define DO8 DO1; DO1; DO1; DO1; DO1; DO1; DO1; DO1 /* ========================================================================= */ -unsigned long ZEXPORT crc32(crc, buf, len) - unsigned long crc; - const unsigned char FAR *buf; - unsigned len; +uLong ZEXPORT crc32(crc, buf, len) + uLong crc; + const Bytef *buf; + uInt len; { if (buf == Z_NULL) return 0UL; -- cgit v1.2.3