summaryrefslogtreecommitdiff
path: root/src/utils/dumplibs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-30 21:26:05 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-30 21:26:05 +0300
commit3b8c620fbb29457e418c77a99f8a3779a5194374 (patch)
tree730034cba4af76d32df6a17c76bf8b90a5179481 /src/utils/dumplibs.cpp
parent62842d214ef2a7f7b32b7f97fc1b8b5127ec8efc (diff)
downloadmanaverse-3b8c620fbb29457e418c77a99f8a3779a5194374.tar.gz
manaverse-3b8c620fbb29457e418c77a99f8a3779a5194374.tar.bz2
manaverse-3b8c620fbb29457e418c77a99f8a3779a5194374.tar.xz
manaverse-3b8c620fbb29457e418c77a99f8a3779a5194374.zip
Fix compilation with SDL 2.
Diffstat (limited to 'src/utils/dumplibs.cpp')
-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