Do not initialize unsigned with -1 in compress.c uncompr.c.
Sun compiler complained. Use (unsigned)0 - 1 instead.
This commit is contained in:
parent
43bfaba3d7
commit
bfcace04f9
@ -28,7 +28,7 @@ int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
|
||||
{
|
||||
z_stream stream;
|
||||
int err;
|
||||
const uInt max = -1;
|
||||
const uInt max = (uInt)0 - 1;
|
||||
uLong left;
|
||||
|
||||
left = *destLen;
|
||||
|
Loading…
Reference in New Issue
Block a user