summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2009-10-24 17:09:01 +0200
committerJavier Jardón <jjardon@gnome.org>2009-10-25 22:14:12 +0100
commite21355495a056488fdea98372de2754530b3c86a (patch)
tree38eff4d945536f0d30ec1f891c7705eefe6b24c4 /gdk-pixbuf
parent04d7d8105629532875d2bf1c3a454184fd6d1b40 (diff)
downloadgtk+-e21355495a056488fdea98372de2754530b3c86a.tar.gz
Cast to gchar* to fix a compilation warning
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/io-pnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/io-pnm.c b/gdk-pixbuf/io-pnm.c
index 2f9fbaa729..f86826e678 100644
--- a/gdk-pixbuf/io-pnm.c
+++ b/gdk-pixbuf/io-pnm.c
@@ -242,7 +242,7 @@ pnm_read_next_value (PnmIOBuffer *inbuf, gint max_length, guint *value, GError *
return PNM_SUSPEND;
/* get the value */
- result = strtol (buf, &endptr, 10);
+ result = strtol ((gchar *)buf, &endptr, 10);
if (*endptr != '\0' || result < 0 || result > G_MAXUINT) {
g_set_error_literal (error,
GDK_PIXBUF_ERROR,