mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-30 12:23:06 +02:00
Fix signedness warning in gio/gicon.c:g_icon_to_string_tokenized()
gio/gicon.c: In function ‘g_icon_to_string_tokenized’: gio/gicon.c:165:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 165 | for (i = 0; i < tokens->len; i++) | ^
This commit is contained in:
parent
dd995ca54b
commit
c150e46bf0
@ -138,7 +138,7 @@ g_icon_to_string_tokenized (GIcon *icon, GString *s)
|
||||
GPtrArray *tokens;
|
||||
gint version;
|
||||
GIconIface *icon_iface;
|
||||
int i;
|
||||
guint i;
|
||||
|
||||
g_return_val_if_fail (icon != NULL, FALSE);
|
||||
g_return_val_if_fail (G_IS_ICON (icon), FALSE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user