From 8871659b0744286d77995476b02005319b052b4e Mon Sep 17 00:00:00 2001 From: Henrique Santiago Date: Thu, 27 Apr 2017 18:47:08 -0300 Subject: [PATCH] Fix image read --- src/framework/graphics/apngloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/graphics/apngloader.cpp b/src/framework/graphics/apngloader.cpp index fff7d642..fc3c81fb 100644 --- a/src/framework/graphics/apngloader.cpp +++ b/src/framework/graphics/apngloader.cpp @@ -165,7 +165,7 @@ void read_paeth_row(unsigned char * row, unsigned char * prev_row, unsigned int } } -void unpack(z_stream zstream, unsigned char * dst, unsigned int dst_size, unsigned char * src, unsigned int src_size, unsigned int h, unsigned int rowbytes, unsigned char bpp) +void unpack(z_stream& zstream, unsigned char * dst, unsigned int dst_size, unsigned char * src, unsigned int src_size, unsigned int h, unsigned int rowbytes, unsigned char bpp) { unsigned int j; unsigned char * row = dst;