mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix signedness warning in gio/gdesktopappinfo.c:array_contains()
gio/gdesktopappinfo.c: In function ‘array_contains’: gio/gdesktopappinfo.c:1193:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 1193 | for (i = 0; i < array->len; i++) | ^
This commit is contained in:
parent
5940d51167
commit
ce2446ddfd
@ -1221,7 +1221,7 @@ static gboolean
|
||||
array_contains (GPtrArray *array,
|
||||
const gchar *str)
|
||||
{
|
||||
gint i;
|
||||
guint i;
|
||||
|
||||
for (i = 0; i < array->len; i++)
|
||||
if (g_str_equal (array->pdata[i], str))
|
||||
|
Loading…
Reference in New Issue
Block a user