diff -urN glmark2-2011.08/src/texture.cpp glmark2-2011.08_/src/texture.cpp --- glmark2-2011.08/src/texture.cpp 2011-08-17 13:10:15.000000000 +0400 +++ glmark2-2011.08_/src/texture.cpp 2012-01-06 18:41:28.461110906 +0400 @@ -78,7 +78,7 @@ } /* Read the image information and data */ - png_set_read_fn(png_, reinterpret_cast(is_ptr.get()), png_read_fn); + png_set_read_fn(png_, reinterpret_cast(is_ptr.get()), png_read_fn); png_read_png(png_, info_, png_transforms, 0);