summaryrefslogtreecommitdiffstats
path: root/platform/uwp/export/export.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-04-02 18:24:06 +0200
committerGitHub <noreply@github.com>2019-04-02 18:24:06 +0200
commitf5013e327769df7168e5f6bd68aa6309d2b825de (patch)
treef2ef4c28bcf6c65f287ae54839d19672418536d4 /platform/uwp/export/export.cpp
parent612a109b81320fcd2f06e5ddff71925d81aca509 (diff)
parente7f22ebdcd36d620a21977392365661aa956527f (diff)
downloadredot-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 'platform/uwp/export/export.cpp')
-rw-r--r--platform/uwp/export/export.cpp2
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];