Skip to content

Commit

Permalink
Use unztell64 in FileAccessZIP to ensure 64 bit return
Browse files Browse the repository at this point in the history
(cherry picked from commit efccebd3db90d7baf0947cd02612ab987ab87868)
  • Loading branch information
Faless authored and Relintai committed Jul 14, 2024
1 parent ec6c038 commit 0c95ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/io/file_access_zip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,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 {
Expand Down

0 comments on commit 0c95ddb

Please sign in to comment.