diff --git a/src/debugger/DebuggerParser.hxx b/src/debugger/DebuggerParser.hxx index 78bb4c05c..172ecccac 100644 --- a/src/debugger/DebuggerParser.hxx +++ b/src/debugger/DebuggerParser.hxx @@ -51,7 +51,7 @@ class DebuggerParser static inline string red(const string& msg = "") { - return char(kDbgColorRed) + msg; + return char(kDbgColorRed & 0xff) + msg; } static inline string inverse(const string& msg = "") {