From 6a75a5ac94a2856f3352b2d7e18ebbca7b8d05cf Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 9 Apr 2009 02:00:58 +0000 Subject: [PATCH] - Fix GCC warning. SVN r1534 (trunk) --- src/p_local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_local.h b/src/p_local.h index e1e248b6b..419b5b0f0 100644 --- a/src/p_local.h +++ b/src/p_local.h @@ -274,7 +274,7 @@ class FBlockThingsIterator int NumFixedHash; TArray DynHash; - HashEntry *GetHashEntry(int i) { return i < countof(FixedHash) ? &FixedHash[i] : &DynHash[i - countof(FixedHash)]; } + HashEntry *GetHashEntry(int i) { return i < (int)countof(FixedHash) ? &FixedHash[i] : &DynHash[i - countof(FixedHash)]; } void StartBlock(int x, int y); void SwitchBlock(int x, int y);