summaryrefslogtreecommitdiff
path: root/graphics/plotutils/patches/patch-ad
blob: 46bbac9fe0c53fa35e0b8185516dabe4e696a8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.1 2003/09/09 14:52:56 jmmv Exp $

--- libplot/z_write.c.orig	2000-06-20 13:34:42.000000000 +0900
+++ libplot/z_write.c	2003-09-09 21:22:59.000000000 +0900
@@ -484,7 +484,7 @@
   ostream *stream;
 
   stream = (ostream *)png_get_io_ptr (png_ptr);
-  stream->write (data, length);
+  stream->write ((const char *)data, length);
 }
 
 static void