Changed some code found by Clang Tidy and Coverity

This commit is contained in:
qarmin
2019-09-22 18:45:08 +02:00
parent 2e065d8ad0
commit 50be65bf43
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];