X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=plugins%2Fimagepng%2Fplugin.cpp;h=9d1a3e358674efbfabe0cb6ac15a9e5c18da4641;hp=05aea74b47d08fd95fc838d8ba6f70e08345714f;hb=898cef614cb5901ed35e1b9da2eb483b038a7e60;hpb=7bd87de737fc55b27f68f764e24243cbfba6a2ea;ds=sidebyside diff --git a/plugins/imagepng/plugin.cpp b/plugins/imagepng/plugin.cpp index 05aea74b..9d1a3e35 100644 --- a/plugins/imagepng/plugin.cpp +++ b/plugins/imagepng/plugin.cpp @@ -87,7 +87,7 @@ Image* LoadPNGBuff (unsigned char* fbuffer) } // configure the read function - png_set_read_fn(png_ptr, (voidp)&p_fbuffer, (png_rw_ptr)&user_read_data); + png_set_read_fn(png_ptr, (png_voidp)&p_fbuffer, (png_rw_ptr)&user_read_data); if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_read_struct(&png_ptr, &info_ptr,