Cast adjusted to expected integer range.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2006-11-27 09:21:08 +00:00
parent 4cd82e115c
commit 2b041d4673

View File

@ -103,7 +103,7 @@ wxColor wxAuiStepColour(const wxColor& c, int ialpha)
g = wxAuiBlendColour(g, bg, alpha);
b = wxAuiBlendColour(b, bg, alpha);
return wxColour((int)r, (int)g, (int)b);
return wxColour((unsigned char)r, (unsigned char)g, (unsigned char)b);
}