From: Vadim Zeitlin Date: Wed, 27 Mar 2002 16:35:04 +0000 (+0000) Subject: compilation warning about signed/unsigned comparison fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9f385aa0f69b8beae385afd3a3ba4ca6f316da40 compilation warning about signed/unsigned comparison fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index f69a0a01f9..f7c1bb88cc 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -283,7 +283,7 @@ void wxMenuItem::Check(bool check) { if ( ::CheckMenuItem(hmenu, GetRealId(), - MF_BYCOMMAND | flags) == -1 ) + MF_BYCOMMAND | flags) == (DWORD)-1 ) { wxLogLastError(wxT("CheckMenuItem")); }