mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 16:41:22 +00:00
Fixed compilation with GCC/Clang
src/menu/menu.cpp:806:20: error: cannot pass non-trivial object of type 'FString' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
This commit is contained in:
parent
a7fdf4b90d
commit
8a1e0ee4b5
1 changed files with 1 additions and 1 deletions
|
@ -803,7 +803,7 @@ void M_Init (void)
|
||||||
catch (CVMAbortException &err)
|
catch (CVMAbortException &err)
|
||||||
{
|
{
|
||||||
err.MaybePrintMessage();
|
err.MaybePrintMessage();
|
||||||
Printf("%s", err.stacktrace);
|
Printf("%s", err.stacktrace.GetChars());
|
||||||
I_FatalError("Failed to initialize menus");
|
I_FatalError("Failed to initialize menus");
|
||||||
}
|
}
|
||||||
M_CreateMenus();
|
M_CreateMenus();
|
||||||
|
|
Loading…
Reference in a new issue