/* pngrutil.c - utilities to read a PNG file
*
- * libpng version 1.2.6 - August 15, 2004
+ * libpng version 1.2.7 - September 12, 2004
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2004 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
if (ret == Z_BUF_ERROR)
sprintf(umsg,"Buffer error in compressed datastream in %s chunk",
- png_ptr->chunk_name);
+ (char *)png_ptr->chunk_name);
else if (ret == Z_DATA_ERROR)
sprintf(umsg,"Data error in compressed datastream in %s chunk",
- png_ptr->chunk_name);
+ (char *)png_ptr->chunk_name);
else
sprintf(umsg,"Incomplete compressed datastream in %s chunk",
- png_ptr->chunk_name);
+ (char *)png_ptr->chunk_name);
png_warning(png_ptr, umsg);
#else
png_warning(png_ptr,