mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Fix signedness warning in gio/gnetworkmonitornetlink.c:remove_network()
gio/gnetworkmonitornetlink.c: In function ‘remove_network’: gio/gnetworkmonitornetlink.c:272:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 272 | for (i = 0; i < nl->priv->dump_networks->len; i++) | ^
This commit is contained in:
parent
f885d80ea3
commit
8236b66a5d
@ -267,7 +267,7 @@ remove_network (GNetworkMonitorNetlink *nl,
|
||||
if (nl->priv->dump_networks)
|
||||
{
|
||||
GInetAddressMask **dump_networks = (GInetAddressMask **)nl->priv->dump_networks->pdata;
|
||||
int i;
|
||||
guint i;
|
||||
|
||||
for (i = 0; i < nl->priv->dump_networks->len; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user