Browse Source

[Core] Use unztell64 in FileAccessZIP to ensure 64 bit return

Fabio Alessandrelli 1 year ago
parent
commit
efccebd3db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/io/file_access_zip.cpp

+ 1 - 1
core/io/file_access_zip.cpp

@@ -277,7 +277,7 @@ void FileAccessZip::seek_end(int64_t p_position) {
 
 
 uint64_t FileAccessZip::get_position() const {
 uint64_t FileAccessZip::get_position() const {
 	ERR_FAIL_NULL_V(zfile, 0);
 	ERR_FAIL_NULL_V(zfile, 0);
-	return unztell(zfile);
+	return unztell64(zfile);
 }
 }
 
 
 uint64_t FileAccessZip::get_length() const {
 uint64_t FileAccessZip::get_length() const {