fix signed/unsigned comparison warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-12-15 17:50:02 +00:00
parent 7834553566
commit 05be97a866
2 changed files with 2 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ int wxColourDialog::ShowModal()
CHOOSECOLOR chooseColorStruct; CHOOSECOLOR chooseColorStruct;
memset(&chooseColorStruct, 0, sizeof(CHOOSECOLOR)); memset(&chooseColorStruct, 0, sizeof(CHOOSECOLOR));
int i; size_t i;
// and transfer data from m_colourData to it // and transfer data from m_colourData to it
COLORREF custColours[16]; COLORREF custColours[16];

View File

@@ -793,7 +793,7 @@ bool wxMenu::MSWCommand(WXUINT WXUNUSED(param), WXWORD id_)
const int id = (signed short)id_; const int id = (signed short)id_;
// ignore commands from the menu title // ignore commands from the menu title
if ( id != idMenuTitle ) if ( id != (int)idMenuTitle )
{ {
// update the check item when it's clicked // update the check item when it's clicked
wxMenuItem * const item = FindItem(id); wxMenuItem * const item = FindItem(id);