]> granicus.if.org Git - graphviz/commitdiff
Janitor - fix differ in signedness warning
authorellson <devnull@localhost>
Wed, 19 Dec 2007 17:33:28 +0000 (17:33 +0000)
committerellson <devnull@localhost>
Wed, 19 Dec 2007 17:33:28 +0000 (17:33 +0000)
lib/gvc/gvdevice.c

index 613d54055fc491af769f8195421072d4cfcd1f8d..56858a6f5fb6598c90a4b52a18e2857d57fa2b11 100644 (file)
@@ -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);