mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 16:32:18 +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:
		| @@ -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++) | ||||
|         { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user