[Zlib-devel] zlib 1.2.4 released

Vincent Torri vtorri at univ-evry.fr
Fri Mar 12 18:16:31 EST 2010



On Fri, 12 Mar 2010, Vincent Torri wrote:

>
>
> On Fri, 12 Mar 2010, Mark Adler wrote:
>
>> On Mar 12, 2010, at 1:15 PM, Gilles Vollant wrote:
>>> I think these entry must NOT be removed
>> 
>> But they are currently identical to the non-64 functions on Windows.  They 
>> do not provide 64-bit offsets.  Not only do they add no functionality, but 
>> it would be misleading to expose them.
>> 
>> For the next version, I hope that we can provide 64-bit offsets for 
>> Windows.  This version won't have them.
>
> just a note on Win64, in case you don't know: contrary to all other 64 bits 
> arch, a lont int is not 64 bits long, but 32 bits long. I don't know if you 
> use long int as the size of a pointer, but be aware of that.

for example, line 321 of gzwrite.c :

for (len = 0; len < state->in; len++)

you compare here an int with a pointer.

Vincent Torri




More information about the Zlib-devel mailing list