X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1eebf405485dc55a4631c3f8cc45173e86f950c..832e44d38a9c283ea1b03a76f80efb52519de21f:/src/msw/settings.cpp diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index 5cf3b79700..a621cc73e2 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -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") );