diff --git a/src/modules/util/Console.cpp b/src/modules/util/Console.cpp index 558c211941..996bd02d26 100644 --- a/src/modules/util/Console.cpp +++ b/src/modules/util/Console.cpp @@ -55,7 +55,7 @@ core::String Console::getColor(ConsoleColor color) { core_assert(color >= 0 && color <= (int)SDL_arraysize(colors)); core::String s; s += _colorMark; - s += core::string::toString(color); + s += core::string::toString((int)color); return s; }