From 32cd24be0a3cf1e842a2fbc440401a6bb259874f Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 29 Feb 2012 19:01:57 +0100 Subject: mingw: fix signed/unsigned comparison warnings --- client/windows/red_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/windows/red_window.cpp') diff --git a/client/windows/red_window.cpp b/client/windows/red_window.cpp index 89a33c9a..fcb033bf 100644 --- a/client/windows/red_window.cpp +++ b/client/windows/red_window.cpp @@ -69,7 +69,7 @@ static bool is_fake_ctrl(UINT message, WPARAM wParam, LPARAM lParam) LONG time = GetMessageTime(); BOOL msg_exist = PeekMessage(&next_msg, NULL, next_peek, next_peek, PM_NOREMOVE); - if ((msg_exist == TRUE) && (next_msg.time == time) && + if ((msg_exist == TRUE) && ((LONG)next_msg.time == time) && (next_msg.wParam == VK_MENU) && (HIWORD (next_msg.lParam) & KF_EXTENDED)) { return true; -- cgit