Fix some GCC 3.1 compilation warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2002-07-05 16:45:15 +00:00
parent d3f3e8575a
commit d285d708a2
4 changed files with 5 additions and 5 deletions

View File

@@ -187,7 +187,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
}
else // replace with default colour
{
int n = index - wxSYS_COLOUR_BTNHIGHLIGHT;
unsigned int n = index - wxSYS_COLOUR_BTNHIGHLIGHT;
wxASSERT_MSG( n < WXSIZEOF(s_defaultSysColors),
_T("forgot tp update the default colours array") );