Fixed one more GCC complaint

This commit is contained in:
Mario Liebisch 2022-10-28 22:46:57 +02:00
parent 174a7f9391
commit d313636448
No known key found for this signature in database
GPG Key ID: 32B56AC1F87EFBF9

View File

@ -79,7 +79,7 @@ int getTouchID(DWORD id)
}
for (int i = 0; i < maxTouchPoints; ++i)
{
if (touchIDs[i] == -1)
if (touchIDs[i] == static_cast<DWORD>(-1))
{
touchIDs[i] = id;
return i;