[Zlib-devel] A few compiler warnings with 1.2.2.2
Mark Adler
madler at alumni.caltech.edu
Sun Feb 6 16:01:55 EST 2005
On Feb 6, 2005, at 12:52 PM, Gilles Vollant wrote:
> uInt is 32 bits , size_t is unsigned 64 bits
>
> The other solution I found is :
> In inflate.c
> zmemcpy(window, state->window, ((size_t)1) << state->wbits);
>
> In inftrees.c
> next += ((size_t)1) << curr;
I can't use size_t since it's not portable.
Did the patch I sent help or did you still get the warnings?
mark
More information about the Zlib-devel
mailing list