From 25f11742036f762aa1a83d377bc416a519bca6ef Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sun, 7 Apr 2024 20:41:13 +0200 Subject: [PATCH] Fix compilation with msvc 2019 'uint' is not defined, 'unsigned int' is better. (cherry picked from commit c7f53afd319fc9028be74f8949cec00063972462) --- src/Text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text.cpp b/src/Text.cpp index d5a1069fa1..778c41820e 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -5958,7 +5958,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) // Argument? if (!arg.empty()) { if (isStrUnsignedInt(arg)) { - num = convert(arg); + num = convert(arg); if (num >= freeFonts.size()) { cur.message(_("Invalid argument (number exceeds stack size)!")); break;