From 0374bbc4e3445a6055af23e6ca50e81cdd4c80e4 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" <alexey.lysiuk@gmail.com> Date: Thu, 10 Oct 2024 13:29:24 +0300 Subject: [PATCH] - fixed compilation of linux build source/common/platform/posix/sdl/i_system.cpp:311:79: error: non-const lvalue reference to type 'FString' cannot bind to a temporary of type 'FString *' --- source/common/platform/posix/sdl/i_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/platform/posix/sdl/i_system.cpp b/source/common/platform/posix/sdl/i_system.cpp index 2c28368b0..31976ba3c 100644 --- a/source/common/platform/posix/sdl/i_system.cpp +++ b/source/common/platform/posix/sdl/i_system.cpp @@ -308,7 +308,7 @@ int I_PickIWad (WadStuff *wads, int numwads, bool showwin, int defaultiwad, int& #ifdef __APPLE__ return I_PickIWad_Cocoa (wads, numwads, showwin, defaultiwad); #else - return LauncherWindow::ExecModal(wads, numwads, defaultiwad, &autoloadflags, &extraArgs); + return LauncherWindow::ExecModal(wads, numwads, defaultiwad, &autoloadflags, extraArgs); #endif }