mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Fixed one more GCC complaint
This commit is contained in:
parent
174a7f9391
commit
d313636448
@ -79,7 +79,7 @@ int getTouchID(DWORD id)
|
|||||||
}
|
}
|
||||||
for (int i = 0; i < maxTouchPoints; ++i)
|
for (int i = 0; i < maxTouchPoints; ++i)
|
||||||
{
|
{
|
||||||
if (touchIDs[i] == -1)
|
if (touchIDs[i] == static_cast<DWORD>(-1))
|
||||||
{
|
{
|
||||||
touchIDs[i] = id;
|
touchIDs[i] = id;
|
||||||
return i;
|
return i;
|
||||||
|
Loading…
Reference in New Issue
Block a user