blob: 4a0daf733cc26c39dc99a823ec5b4a2b0d8112fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
$NetBSD: patch-ab,v 1.1 2003/09/09 14:52:55 jmmv Exp $
--- libplot/i_rle.c.orig 1999-06-28 01:58:10.000000000 +0900
+++ libplot/i_rle.c 2003-09-09 21:23:13.000000000 +0900
@@ -78,7 +78,7 @@
else if (rle->outstream)
{
rle->outstream->put ((unsigned char)(rle->oblen));
- rle->outstream->write (&(rle->oblock[0]), rle->oblen);
+ rle->outstream->write ((const char *)&(rle->oblock[0]), rle->oblen);
}
#endif
|