From 09e25ca5b7378271cdd361b572eeac680aa62d3d Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Thu, 29 Dec 2022 16:25:42 -0500 Subject: [PATCH] Fix compiler warning -Wstring-plus-int Similar to d44eaa97. --- src/tex2lyx/math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }