X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6b7a521a4e04967ccef083eb76fbad9318cc95f..7749035c4edc84ff7ad722c0de8ff1679b68976f:/src/aui/dockart.cpp?ds=inline diff --git a/src/aui/dockart.cpp b/src/aui/dockart.cpp index 116fb79804..f2bfb08188 100644 --- a/src/aui/dockart.cpp +++ b/src/aui/dockart.cpp @@ -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); }