fix compiler warning
This commit is contained in:
parent
922bbf0cfe
commit
b8a6a9d9b5
@ -189,7 +189,15 @@ png2vips_header( Read *read, VipsImage *out )
|
||||
|
||||
png_charp name;
|
||||
int compression_type;
|
||||
|
||||
/* Well thank you, libpng.
|
||||
*/
|
||||
#if PNG_LIBPNG_VER < 10400
|
||||
png_charp profile;
|
||||
#else
|
||||
png_bytep profile;
|
||||
#endif
|
||||
|
||||
png_uint_32 proflen;
|
||||
|
||||
int bands;
|
||||
|
Loading…
Reference in New Issue
Block a user