--- a/hedgewars/PNGh.pas Sat Sep 30 20:31:07 2017 +0200
+++ b/hedgewars/PNGh.pas Sat Sep 30 21:54:47 2017 +0200
@@ -79,6 +79,7 @@
procedure PngFlushData(png_ptr: png_structp); cdecl;
begin
+ png_ptr:= png_ptr;
end;
procedure png_init_pascal_io(png_ptr: png_structp; pf : PFile);