From 7045bfd19f6d9f204a5a69e114f5ad3374bda79f Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 20 Mar 2012 02:22:17 +0000 Subject: [PATCH] - Fix another signed/unsigned warning from GCC. SVN r3458 (trunk) --- src/thingdef/thingdef_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thingdef/thingdef_properties.cpp b/src/thingdef/thingdef_properties.cpp index 87c5f64c20..02490478f3 100644 --- a/src/thingdef/thingdef_properties.cpp +++ b/src/thingdef/thingdef_properties.cpp @@ -2093,7 +2093,7 @@ DEFINE_CLASS_PROPERTY_PREFIX(player, colorset, ISIIIiiiiiiiiiiiiiiiiiiiiiiii, Pl PROP_INT_PARM(first_color, start+2); PROP_INT_PARM(last_color, start+3); int extra = color.NumExtraRanges++; - assert (extra < countof(color.Extra)); + assert (extra < (int)countof(color.Extra)); color.Extra[extra].RangeStart = range_start; color.Extra[extra].RangeEnd = range_end;