mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Cast to gchar* to fix a compilation warning
This commit is contained in:
parent
04d7d81056
commit
e21355495a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user