Fix build failure without zlib.
This commit is contained in:
1 parent
b327f90c78
commit
481b432ec1
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user