diff --git a/src/p_maputl.cpp b/src/p_maputl.cpp index f1818a3d8..664fd3cf8 100644 --- a/src/p_maputl.cpp +++ b/src/p_maputl.cpp @@ -854,7 +854,7 @@ AActor *FBlockThingsIterator::Next() } if (i < 0) { // Add me to the hash table and return me. - if (NumFixedHash < countof(FixedHash)) + if (NumFixedHash < (int)countof(FixedHash)) { entry = &FixedHash[NumFixedHash]; entry->Next = Buckets[hash];