Address some longstanding warnings with printf when building with MinGW's GCC 6 and newer.

Building with said newer versions may fix the -Wodr warning when building for release.

git-svn-id: https://svn.eduke32.com/eduke32@6140 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-06-05 10:05:12 +00:00
parent 914762513d
commit f781f21ccd
7 changed files with 53 additions and 57 deletions

View file

@ -356,7 +356,7 @@ int32_t scriptfile_getsymbolvalue(char const *name, int32_t *val)
sscanf(name + 2, "%" PRIx64 "", &x);
if (EDUKE32_PREDICT_FALSE(x > UINT32_MAX))
initprintf("warning: number 0x%" PRIx64 " truncated to 32 bits.\n", x);
buildprint("warning: number 0x", hex(x), " truncated to 32 bits.\n");
*val = x;
return 1;