From a3eb1ec1fd3fdba292668e7069894fb548b578a7 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 2 Oct 2023 10:24:24 +0300 Subject: [PATCH] - fixed compilation with Clang src/console/c_cmds.cpp:1310:40: error: cannot pass non-trivial object of type 'FString' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs] --- src/console/c_cmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console/c_cmds.cpp b/src/console/c_cmds.cpp index 706e6ec75..7743997d9 100644 --- a/src/console/c_cmds.cpp +++ b/src/console/c_cmds.cpp @@ -1307,7 +1307,7 @@ CCMD (mapinfo) Printf("[ Map Info For: '%s' ]\n\n", myLevel->MapName.GetChars()); if (myLevel->LevelName.IsNotEmpty()) - Printf(" LevelName: %s\n", myLevel->LookupLevelName()); + Printf(" LevelName: %s\n", myLevel->LookupLevelName().GetChars()); if (myLevel->AuthorName.IsNotEmpty()) Printf(" AuthorName: %s\n", testlocalised(myLevel->AuthorName));