Fix compilation with msvc 2019

'uint' is not defined, 'unsigned int' is better.

(cherry picked from commit c7f53afd31)
This commit is contained in:
Jean-Marc Lasgouttes 2024-04-07 20:41:13 +02:00
parent 89afdb050f
commit 25f1174203

View File

@ -5958,7 +5958,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
// Argument? // Argument?
if (!arg.empty()) { if (!arg.empty()) {
if (isStrUnsignedInt(arg)) { if (isStrUnsignedInt(arg)) {
num = convert<uint>(arg); num = convert<unsigned int>(arg);
if (num >= freeFonts.size()) { if (num >= freeFonts.size()) {
cur.message(_("Invalid argument (number exceeds stack size)!")); cur.message(_("Invalid argument (number exceeds stack size)!"));
break; break;