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:
@@ -103,7 +103,7 @@ wxColor wxAuiStepColour(const wxColor& c, int ialpha)
|
|||||||
g = wxAuiBlendColour(g, bg, alpha);
|
g = wxAuiBlendColour(g, bg, alpha);
|
||||||
b = wxAuiBlendColour(b, 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user