From 81d286dcc4f0e06140803412ffe53d58954dee07 Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 23 Dec 2015 04:06:28 +0000 Subject: [PATCH] Fix CLANG warnings git-svn-id: https://svn.eduke32.com/eduke32@5491 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/defs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/build/src/defs.c b/polymer/eduke32/build/src/defs.c index 922e376f2..c24bcc216 100644 --- a/polymer/eduke32/build/src/defs.c +++ b/polymer/eduke32/build/src/defs.c @@ -858,7 +858,7 @@ static int32_t defsparser(scriptfile *script) if (texstatus == -3) initprintf("Error: No palette loaded, in tilefromtexture definition near line %s:%d\n", script->filename, scriptfile_getlinum(script,texturetokptr)); - if (texstatus == (-3)<<8) + if (texstatus == -(3<<8)) initprintf("Error: \"%s\" has more than one tile, in tilefromtexture definition near line %s:%d\n", fn, script->filename, scriptfile_getlinum(script,texturetokptr)); if (texstatus < 0) @@ -1003,7 +1003,7 @@ static int32_t defsparser(scriptfile *script) if (texstatus == -3) initprintf("Error: No palette loaded, in importtile definition near line %s:%d\n", script->filename, scriptfile_getlinum(script,cmdtokptr)); - if (texstatus == (-3)<<8) + if (texstatus == -(3<<8)) initprintf("Error: \"%s\" has more than one tile, in importtile definition near line %s:%d\n", fn, script->filename, scriptfile_getlinum(script,cmdtokptr)); if (texstatus < 0)