From 05be97a86687be701a2da9661aa104e9a493dfb9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 15 Dec 2007 17:50:02 +0000 Subject: [PATCH] fix signed/unsigned comparison warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/colordlg.cpp | 2 +- src/msw/menu.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/colordlg.cpp b/src/msw/colordlg.cpp index 60affe9fc6..5994521841 100644 --- a/src/msw/colordlg.cpp +++ b/src/msw/colordlg.cpp @@ -120,7 +120,7 @@ int wxColourDialog::ShowModal() CHOOSECOLOR chooseColorStruct; memset(&chooseColorStruct, 0, sizeof(CHOOSECOLOR)); - int i; + size_t i; // and transfer data from m_colourData to it COLORREF custColours[16]; diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 4c4383e467..2daee69f01 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -793,7 +793,7 @@ bool wxMenu::MSWCommand(WXUINT WXUNUSED(param), WXWORD id_) const int id = (signed short)id_; // ignore commands from the menu title - if ( id != idMenuTitle ) + if ( id != (int)idMenuTitle ) { // update the check item when it's clicked wxMenuItem * const item = FindItem(id); -- 2.45.2