From 2b041d4673b8e1f2b430d95c0c80712663859b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 27 Nov 2006 09:21:08 +0000 Subject: [PATCH] Cast adjusted to expected integer range. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/dockart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }