From 567b23229f78e2ca4d651c3ab60054fda5857d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Sun, 25 Oct 2009 22:47:17 +0100 Subject: Cast to gchar* to fix a compilation warning --- gdk-pixbuf/io-gif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdk-pixbuf') diff --git a/gdk-pixbuf/io-gif.c b/gdk-pixbuf/io-gif.c index 04fb1d1170..7e35953021 100644 --- a/gdk-pixbuf/io-gif.c +++ b/gdk-pixbuf/io-gif.c @@ -411,8 +411,8 @@ gif_get_extension (GifContext *context) retval = get_data_block (context, (unsigned char *) context->block_buf, NULL); if (retval != 0) return retval; - if (!strncmp (context->block_buf, "NETSCAPE2.0", 11) || - !strncmp (context->block_buf, "ANIMEXTS1.0", 11)) { + if (!strncmp ((gchar *)context->block_buf, "NETSCAPE2.0", 11) || + !strncmp ((gchar *)context->block_buf, "ANIMEXTS1.0", 11)) { context->in_loop_extension = TRUE; } context->block_count = 0; -- cgit v1.2.1