Revert changes where `long` type is required.

This commit is contained in:
rh101 2021-09-02 15:59:29 +10:00
parent aecfb8be47
commit 64695cfb48
1 changed files with 2 additions and 2 deletions

View File

@ -528,7 +528,7 @@ struct ZipFilePrivate
}
// unzip overrides to support FileStream
static int32_t ZipFile_tell_file_func(voidpf opaque, voidpf stream) {
static long ZipFile_tell_file_func(voidpf opaque, voidpf stream) {
if (stream == nullptr)
return -1;
@ -537,7 +537,7 @@ struct ZipFilePrivate
return fs->tell();
}
static int32_t ZipFile_seek_file_func(voidpf opaque, voidpf stream, uint32_t offset, int origin) {
static long ZipFile_seek_file_func(voidpf opaque, voidpf stream, uint32_t offset, int origin) {
if (stream == nullptr)
return -1;