diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-09-07 23:25:35 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-10-12 00:17:27 -0500 |
commit | 7e51e4cb84aeb3c191289752e0e6b92facd8f7f6 (patch) | |
tree | e07661aeb47a95dbbce602440099da860e2d0c06 /core/io/file_access_zip.cpp | |
parent | f9aec342dcd51d65c5970dd395e3c7a66cac446c (diff) | |
download | redot-engine-7e51e4cb84aeb3c191289752e0e6b92facd8f7f6.tar.gz |
Fix some LGTM errors of "Multiplication result converted to larger type"
Diffstat (limited to 'core/io/file_access_zip.cpp')
-rw-r--r-- | core/io/file_access_zip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_zip.cpp b/core/io/file_access_zip.cpp index b5c882e9ce..53bf7456e6 100644 --- a/core/io/file_access_zip.cpp +++ b/core/io/file_access_zip.cpp @@ -99,7 +99,7 @@ static int godot_testerror(voidpf opaque, voidpf stream) { } static voidpf godot_alloc(voidpf opaque, uInt items, uInt size) { - return memalloc(items * size); + return memalloc((size_t)items * size); } static void godot_free(voidpf opaque, voidpf address) { |