From 3b8c620fbb29457e418c77a99f8a3779a5194374 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Jan 2017 21:26:05 +0300 Subject: Fix compilation with SDL 2. --- src/utils/dumplibs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp index a81d056a0..c433872ab 100644 --- a/src/utils/dumplibs.cpp +++ b/src/utils/dumplibs.cpp @@ -151,7 +151,7 @@ void dumpLibs() compareVersions("zLib", ZLIB_VERSION, zlibVersion()); compareVersions("libphysfs", physfsCompiled.c_str(), physfsLinked.c_str()); #ifdef USE_SDL2 - compareSDLVersions("SDL", sdlVersionJoin(SDL), sdlVersion); + compareSDLVersions("SDL", sdlVersionJoin(SDL), &sdlVersion); #else // USE_SDL2 compareSDLVersions("SDL", sdlVersionJoin(SDL), SDL_Linked_Version()); #endif // USE_SDL2 -- cgit v1.2.3-70-g09d2