summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-02 14:16:28 +0200
committerGitHub <noreply@github.com>2019-07-02 14:16:28 +0200
commit4cb0887660861402fe6857662e622488adb86514 (patch)
tree9efcbd201f688ce85a2a87611c431c71491dbf9b /modules
parent78af5625d0c0a6a88069e67c2da75a31ea518218 (diff)
parentf48bb8fac8f6036c0077bb53a5ae37bb03832e7b (diff)
Merge pull request #30249 from marxin/fix-gcc9-warnings
Fix few GCC9 warnings:
Diffstat (limited to 'modules')
-rw-r--r--modules/dds/texture_loader_dds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dds/texture_loader_dds.cpp b/modules/dds/texture_loader_dds.cpp
index 50fdc8ab20..197b41b30c 100644
--- a/modules/dds/texture_loader_dds.cpp
+++ b/modules/dds/texture_loader_dds.cpp
@@ -31,7 +31,7 @@
#include "texture_loader_dds.h"
#include "core/os/file_access.h"
-#define PF_FOURCC(s) (((s)[3] << 24U) | ((s)[2] << 16U) | ((s)[1] << 8U) | ((s)[0]))
+#define PF_FOURCC(s) ((uint32_t)(((s)[3] << 24U) | ((s)[2] << 16U) | ((s)[1] << 8U) | ((s)[0])))
enum {
DDS_MAGIC = 0x20534444,