From f57b11d25523e642d0e123e3b7e1030a5fc8e478 Mon Sep 17 00:00:00 2001 From: ellson Date: Wed, 19 Dec 2007 17:33:28 +0000 Subject: [PATCH] Janitor - fix differ in signedness warning --- lib/gvc/gvdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1