From: ellson Date: Wed, 19 Dec 2007 17:33:28 +0000 (+0000) Subject: Janitor - fix differ in signedness warning X-Git-Tag: LAST_LIBGRAPH~32^2~4973 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f57b11d25523e642d0e123e3b7e1030a5fc8e478;p=graphviz Janitor - fix differ in signedness warning --- diff --git a/lib/gvc/gvdevice.c b/lib/gvc/gvdevice.c index 613d54055..56858a6f5 100644 --- a/lib/gvc/gvdevice.c +++ b/lib/gvc/gvdevice.c @@ -80,7 +80,7 @@ void gvdevice_printf(GVJ_t * job, const char *format, ...) size_t gvdevice_write (GVJ_t * job, const unsigned char *s, unsigned int len) { if (job->gvc->write_fn && job->output_file == stdout) /* externally provided write dicipline */ - return (job->gvc->write_fn)(s, len); + return (job->gvc->write_fn)((char*)s, len); if (job->flags & GVDEVICE_COMPRESSED_FORMAT) { #ifdef HAVE_LIBZ return gzwrite((gzFile *) (job->output_file), s, len);