diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-02 18:24:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-02 18:24:06 +0200 |
commit | f5013e327769df7168e5f6bd68aa6309d2b825de (patch) | |
tree | f2ef4c28bcf6c65f287ae54839d19672418536d4 /core/io/file_access_pack.cpp | |
parent | 612a109b81320fcd2f06e5ddff71925d81aca509 (diff) | |
parent | e7f22ebdcd36d620a21977392365661aa956527f (diff) | |
download | redot-engine-f5013e327769df7168e5f6bd68aa6309d2b825de.tar.gz |
Merge pull request #26343 from marxin/warnings-all-add-most-of-Wextra
Enable most of -Wextra warnings for warnings=all.
Diffstat (limited to 'core/io/file_access_pack.cpp')
-rw-r--r-- | core/io/file_access_pack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_pack.cpp b/core/io/file_access_pack.cpp index c97b8cafac..d38d09c6bb 100644 --- a/core/io/file_access_pack.cpp +++ b/core/io/file_access_pack.cpp @@ -272,7 +272,7 @@ int FileAccessPack::get_buffer(uint8_t *p_dst, int p_length) const { if (eof) return 0; - int64_t to_read = p_length; + uint64_t to_read = p_length; if (to_read + pos > pf.size) { eof = true; to_read = int64_t(pf.size) - int64_t(pos); |