diff --git a/core/HalfLife2.cpp b/core/HalfLife2.cpp index e24d4bf9..d9b5c6dd 100644 --- a/core/HalfLife2.cpp +++ b/core/HalfLife2.cpp @@ -1200,7 +1200,7 @@ bool IsWindowsReservedDeviceName(const char *pMapname) }; size_t reservedCount = sizeof(reservedDeviceNames) / sizeof(reservedDeviceNames[0]); - for (int i = 0; i < reservedCount; ++i) + for (size_t i = 0; i < reservedCount; ++i) { if (CheckReservedFilename(pMapname, reservedDeviceNames[i])) {