X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1eebf405485dc55a4631c3f8cc45173e86f950c..23d2edff3505385801313910ece449bdb959f0f1:/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") );