From 63f5307ff0644a60ce80628df6a20eb2cc5a4ebf Mon Sep 17 00:00:00 2001 From: Ivan Mogilko Date: Fri, 20 Dec 2024 15:36:45 +0300 Subject: [PATCH] Compiler2: fix error formatting in Parse_ExportAllFunctions() --- Compiler/script2/cs_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compiler/script2/cs_parser.cpp b/Compiler/script2/cs_parser.cpp index cd6f83fb18..bb06a2ec36 100644 --- a/Compiler/script2/cs_parser.cpp +++ b/Compiler/script2/cs_parser.cpp @@ -7039,7 +7039,7 @@ void AGS::Parser::Parse_ExportAllFunctions() _scrip.Functions[func_idx].Name, _scrip.Functions[func_idx].CodeOffs, _scrip.Functions[func_idx].ParamsCount)) - InternalError("Could not export function '%s', exports table overflow?", _scrip.Functions[func_idx].Name); + InternalError("Could not export function '%s', exports table overflow?", _scrip.Functions[func_idx].Name.c_str()); } }