diff --git a/src/p_tags.cpp b/src/p_tags.cpp index 99796e269..15528378b 100644 --- a/src/p_tags.cpp +++ b/src/p_tags.cpp @@ -98,7 +98,7 @@ void FTagManager::AddSectorTag(int sector, int tag) void FTagManager::RemoveSectorTags(int sect) { - if (startForSector.Size() > sect) + if (startForSector.Size() > (unsigned int)sect) { int start = startForSector[sect]; if (start >= 0)