diff options
author | rubidium <rubidium@openttd.org> | 2010-11-12 12:00:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-12 12:00:03 +0000 |
commit | 671158acd8bbe21e3cb6a0fa134e2f72d2b06870 (patch) | |
tree | d55a9fe12903c7f50394000414878f4902ccd09e | |
parent | b31543aa9aa153779f1aab89e09bf779efd30a2b (diff) | |
download | openttd-671158acd8bbe21e3cb6a0fa134e2f72d2b06870.tar.xz |
(svn r21150) -Fix: [OSX] Deprecation warning with libpng 1.4
-rw-r--r-- | src/os/macosx/splash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/macosx/splash.cpp b/src/os/macosx/splash.cpp index 14a2a877d..c56491fa4 100644 --- a/src/os/macosx/splash.cpp +++ b/src/os/macosx/splash.cpp @@ -26,7 +26,7 @@ static void PNGAPI png_my_error(png_structp png_ptr, png_const_charp message) { DEBUG(misc, 0, "[libpng] error: %s - %s", message, (char *)png_get_error_ptr(png_ptr)); - longjmp(png_ptr->jmpbuf, 1); + longjmp(png_jmpbuf(png_ptr), 1); } static void PNGAPI png_my_warning(png_structp png_ptr, png_const_charp message) |