From 3bf163c923526e545d9738d0047b5de352a85a7c Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 11 Feb 2009 17:12:00 +0100 Subject: Shut up some compiler warnings. --- src/gui/color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/color.cpp') diff --git a/src/gui/color.cpp b/src/gui/color.cpp index 62537191..0b50c723 100644 --- a/src/gui/color.cpp +++ b/src/gui/color.cpp @@ -104,7 +104,7 @@ char Color::getColorCharAt(int i) void Color::addColor(const char c, const int rgb, const std::string &text) { - int trueRgb = config.getValue("Color" + text, rgb); + int trueRgb = (int) config.getValue("Color" + text, rgb); mColVector.push_back(ColorElem(c, trueRgb, text)); } -- cgit v1.2.3-70-g09d2