소스 검색

[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 {