Fix signed/unsigned compare on Windows.

This commit is contained in:
Nick Hastings 2018-12-12 20:02:23 -05:00
parent dd61223c0b
commit 9a4fe1c475

View File

@ -1200,7 +1200,7 @@ bool IsWindowsReservedDeviceName(const char *pMapname)
}; };
size_t reservedCount = sizeof(reservedDeviceNames) / sizeof(reservedDeviceNames[0]); 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])) if (CheckReservedFilename(pMapname, reservedDeviceNames[i]))
{ {