From: Scott Kostyshak Date: Thu, 29 Dec 2022 21:25:42 +0000 (-0500) Subject: Fix compiler warning -Wstring-plus-int X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=09e25ca5b7378271cdd361b572eeac680aa62d3d;p=features.git Fix compiler warning -Wstring-plus-int Similar to d44eaa97. --- 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; }