From 4da9dbf8647a1b8e97fc1fb3751303183278a8bb Mon Sep 17 00:00:00 2001 From: raa-eruanna Date: Sat, 18 Nov 2017 08:11:27 -0500 Subject: [PATCH] - fix linux compile --- src/posix/sdl/sdlvideo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posix/sdl/sdlvideo.cpp b/src/posix/sdl/sdlvideo.cpp index e85c08235..2c1beb1ee 100644 --- a/src/posix/sdl/sdlvideo.cpp +++ b/src/posix/sdl/sdlvideo.cpp @@ -555,7 +555,7 @@ ADD_STAT (blit) // each platform has its own specific version of this function. void I_SetWindowTitle(const char* caption) { - Screen = screen->GetSDLWindow(); + auto Screen = static_cast(screen)->GetSDLWindow(); if (caption) SDL_SetWindowTitle(Screen, caption); else