ports/graphics/plotutils/files/patch-libplot_g__write.c
Kirill Ponomarev ce1f6608f8 Fix build on -current
PR:		55351
Submitted by:	Glenn Johnson <gjohnson@srrc.ars.usda.gov>
2003-08-10 06:34:37 +00:00

14 lines
280 B
C

$FreeBSD$
--- libplot/g_write.c.orig Fri May 19 11:10:01 2000
+++ libplot/g_write.c Thu Aug 7 11:48:12 2003
@@ -40,7 +40,7 @@
}
#ifdef LIBPLOTTER
else if (data->outstream)
- data->outstream->write(c, n);
+ data->outstream->write((const char*)c, n);
#endif
}