]> git.ipfire.org Git - thirdparty/zlib-ng.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)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Tue, 15 Jan 2019 09:59:22 +0000 (10:59 +0100)
commit195ff00f4062752fe60cdbfda0d6260324e0a417
tree98e51466efbb5c7e68369032aba9865ca9ac65fd
parentf37e27eb4e677400a3a03b58e5149f04965d70be
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