DEVTOOLS: Fix GCC warnings (#2986)

Appear in travis build.

create_lure_dat.cpp:1491:1: error: narrowing conversion of '\37777777665' from `char` to `unsigned char` inside { } [-Wnarrowing]
This commit is contained in:
Orgad Shaneh 2021-04-28 19:57:10 +03:00 committed by GitHub
parent b87f98602e
commit ad43ce6945
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,10 @@
// Disable symbol overrides so that we can use system headers.
#define FORBIDDEN_SYMBOL_ALLOW_ALL
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wnarrowing"
#endif
// HACK to allow building with the SDL backend on MinGW
// see bug #3412 "TOOLS: MinGW tools building broken"
#ifdef main