summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/dumplibs.cpp2
1 files changed, 1 insertions, 1 deletions
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