瀏覽代碼

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

(cherry picked from commit efccebd3db90d7baf0947cd02612ab987ab87868)
Fabio Alessandrelli 1 年之前
父節點
當前提交
5067fd43ac
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/io/file_access_zip.cpp

+ 1 - 1
core/io/file_access_zip.cpp

@@ -278,7 +278,7 @@ void FileAccessZip::seek_end(int64_t p_position) {
 
 uint64_t FileAccessZip::get_position() const {
 	ERR_FAIL_COND_V(!zfile, 0);
-	return unztell(zfile);
+	return unztell64(zfile);
 }
 
 uint64_t FileAccessZip::get_len() const {