diff --git a/src/tex2lyx/math.cpp b/src/tex2lyx/math.cpp index 0e34798793..616b616090 100644 --- a/src/tex2lyx/math.cpp +++ b/src/tex2lyx/math.cpp @@ -92,7 +92,7 @@ void parse_math(Parser & p, ostream & os, unsigned flags, const mode_type mode) } else { - warning_message("\nmode: " + mode); + warning_message("\nmode: " + std::to_string(mode)); p.error("something strange in the parser\n"); break; }