summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-io.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-08-30 15:07:12 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-08-30 15:07:12 +0000
commit0aa27306aa6d0cf199b7da521fa2b5fe324213d3 (patch)
tree5b747d1cae54bc761377f1bcc560c43d6d746201 /gdk-pixbuf/gdk-pixbuf-io.c
parent4a481c6d87bfe17753236303ba01447c78c5ef81 (diff)
downloadgtk+-0aa27306aa6d0cf199b7da521fa2b5fe324213d3.tar.gz
Add a cast to avoid compiler warnings.
2005-08-30 Matthias Clasen <mclasen@redhat.com> * io-png.c (png_save_to_callback_write_func): Add a cast to avoid compiler warnings. * pixops/timescale.c (main): Declare src_buf, dest_buf as unsigned to avoid compiler warnings. * gdk-pixbuf-io.h: Declare the prefix and mask members of GdkPixbufModulePattern as char*, to avoid compiler warnings. * io-ani.c (ani_load_chunk): Use g_try_new() in some places.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-io.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index f67dd0355c..b330ea5efa 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -52,7 +52,7 @@ format_check (GdkPixbufModule *module, guchar *buffer, int size)
gchar m;
GdkPixbufModulePattern *pattern;
gboolean anchored;
- guchar *prefix, *mask;
+ gchar *prefix, *mask;
for (pattern = module->info->signature; pattern->prefix; pattern++) {
if (pattern->mask && pattern->mask[0] == '*') {