From d313636448693173dba0798346f49df830eabc0a Mon Sep 17 00:00:00 2001 From: Mario Liebisch Date: Fri, 28 Oct 2022 22:46:57 +0200 Subject: [PATCH] Fixed one more GCC complaint --- src/SFML/Window/Win32/WindowImplWin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Window/Win32/WindowImplWin32.cpp b/src/SFML/Window/Win32/WindowImplWin32.cpp index a993edc19..8cd5cd0fe 100644 --- a/src/SFML/Window/Win32/WindowImplWin32.cpp +++ b/src/SFML/Window/Win32/WindowImplWin32.cpp @@ -79,7 +79,7 @@ int getTouchID(DWORD id) } for (int i = 0; i < maxTouchPoints; ++i) { - if (touchIDs[i] == -1) + if (touchIDs[i] == static_cast(-1)) { touchIDs[i] = id; return i;