From c8eabe57ff13f8b07591194f89c129bd6f5b9dc7 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 26 Mar 2017 22:04:04 +0300 Subject: [PATCH] Fixed compilation warning reported by GCC/Clang src/v_draw.cpp:503:25: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] --- src/v_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v_draw.cpp b/src/v_draw.cpp index 291165239..d06628d43 100644 --- a/src/v_draw.cpp +++ b/src/v_draw.cpp @@ -500,7 +500,7 @@ bool DCanvas::ParseDrawTextureTags(FTexture *img, double x, double y, uint32_t t case DTA_FillColor: parms->fillcolor = ListGetInt(tags); - if (parms->fillcolor != -1) + if (parms->fillcolor != ~0u) { fillcolorset = true; }