]>
Commit | Line | Data |
---|---|---|
9cbe1db0 MB |
1 | diff -urN wesnoth-1.6.5/src/tools/exploder_utils.cpp wesnoth-1.6.5.new/src/tools/exploder_utils.cpp |
2 | --- wesnoth-1.6.5/src/tools/exploder_utils.cpp 2009-01-01 11:27:41.000000000 +0100 | |
3 | +++ wesnoth-1.6.5.new/src/tools/exploder_utils.cpp 2010-02-11 13:21:55.718521128 +0100 | |
4 | @@ -174,8 +174,8 @@ | |
5 | //TODO: review whether providing NULL error handlers is something | |
6 | //sensible | |
7 | png_struct* png_ptr = png_create_write_struct | |
8 | - (PNG_LIBPNG_VER_STRING, (png_voidp)png_voidp_NULL, | |
9 | - png_error_ptr_NULL, png_error_ptr_NULL); | |
10 | + (PNG_LIBPNG_VER_STRING, NULL, | |
11 | + NULL, NULL); | |
12 | if(!png_ptr) | |
13 | throw exploder_failure("Unable to initialize the png write structure"); | |
14 |