]> git.saurik.com Git - wxWidgets.git/blobdiff - src/png/pngrutil.c
Added wxTopLevelWindow::SetTranslucency and CanSetTranslucency, with
[wxWidgets.git] / src / png / pngrutil.c
index ce522198b12714c6f06438bdc6fc02821ec2c638..b61664aa6c1290eb7507a43f251189e1cf6f131b 100644 (file)
@@ -279,13 +279,13 @@ png_decompress_chunk(png_structp png_ptr, int comp_type,
 
          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,