Permalink
Browse files

Fix signed/unsigned compare on Windows.

  • Loading branch information...
psychonic committed Dec 13, 2018
1 parent dd61223 commit 9a4fe1c4758e0aabaed25f4590d32bcfa716979b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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]))
{

0 comments on commit 9a4fe1c

Please sign in to comment.