Fix build failure without zlib.

This commit is contained in:
Michihiro NAKAJIMA committed 2014-10-13 16:49:46 +09:00
1 parent b327f90c78
commit 481b432ec1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -325,7 +325,7 @@ crypt_derive_key_sha1(const void *p, int size, unsigned char *key,
static unsigned long
real_crc32(unsigned long crc, const void *buff, size_t len)
{
return crc32(crc, buff, (uInt)len);
return crc32(crc, buff, (unsigned int)len);
}
static unsigned long
+1 -1
View File
@@ -232,7 +232,7 @@ cd_alloc(struct zip *zip, size_t length)
static unsigned long
real_crc32(unsigned long crc, const void *buff, size_t len)
{
return crc32(crc, buff, (uInt)len);
return crc32(crc, buff, (unsigned int)len);
}
static unsigned long