Merge pull request #32055 from qarmin/some_code_fixes

Changed some code found by Clang Tidy and Coverity
This commit is contained in:
Rémi Verschelde 2019-09-23 10:00:31 +02:00 committed by GitHub
commit 393a0152ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 142 additions and 155 deletions

View file

@ -194,7 +194,7 @@ bool ZipArchive::try_open_pack(const String &p_path) {
packages.push_back(pkg);
int pkg_num = packages.size() - 1;
for (unsigned int i = 0; i < gi.number_entry; i++) {
for (uint64_t i = 0; i < gi.number_entry; i++) {
char filename_inzip[256];