Skip to content

Commit

Permalink
Fix signed/unsigned compare on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Dec 13, 2018
1 parent dd61223 commit 9a4fe1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/HalfLife2.cpp
Expand Up @@ -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]))
{
Expand Down

0 comments on commit 9a4fe1c

Please sign in to comment.