]> git.lizzy.rs Git - zlib.git/commit
Avoid a conversion error in gzseek when off_t type too small.
authorMark Adler <madler@alumni.caltech.edu>
Sun, 5 Feb 2017 07:58:37 +0000 (23:58 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Thu, 16 Feb 2017 06:39:26 +0000 (22:39 -0800)
commita3622937453f517285f851817a7505f54f4f19aa
treeba1286c2e4be51ed5dc3aac1f51c83fa781fc898
parent38e8ce32afbaa82f67d992b9f3056f281fe69259
Avoid a conversion error in gzseek when off_t type too small.

This is a problem in the odd case that the second argument of
LSEEK is a larger type than off_t. Apparently MinGW defines off_t
to be 32 bits, but _lseeki64 has a 64-bit second argument.

Also undo a previous commit to permit MinGW to use _lseeki64.
gzlib.c