diff options
author | marxin <mliska@suse.cz> | 2019-02-27 10:07:30 +0100 |
---|---|---|
committer | marxin <mliska@suse.cz> | 2019-04-02 17:14:47 +0200 |
commit | e7f22ebdcd36d620a21977392365661aa956527f (patch) | |
tree | f2ef4c28bcf6c65f287ae54839d19672418536d4 /platform/uwp/export/export.cpp | |
parent | 612a109b81320fcd2f06e5ddff71925d81aca509 (diff) | |
download | redot-engine-e7f22ebdcd36d620a21977392365661aa956527f.tar.gz |
Enable warnings=extra on clang and GCC testers.
And remove 2 warnings from warnings=extra.
Diffstat (limited to 'platform/uwp/export/export.cpp')
-rw-r--r-- | platform/uwp/export/export.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp index 8ccf122d9f..a0ab398f89 100644 --- a/platform/uwp/export/export.cpp +++ b/platform/uwp/export/export.cpp @@ -505,7 +505,7 @@ void AppxPackager::add_file(String p_file_name, const uint8_t *p_buffer, size_t while (p_len - step > 0) { - size_t block_size = (p_len - step) > BLOCK_SIZE ? BLOCK_SIZE : (p_len - step); + size_t block_size = (p_len - step) > BLOCK_SIZE ? (size_t)BLOCK_SIZE : (p_len - step); for (uint32_t i = 0; i < block_size; i++) { strm_in.write[i] = p_buffer[step + i]; |