mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix signedness warning in gio/tests/socket-common.c
gio/tests/socket-common.c: In function ‘socket_address_from_string’: gio/tests/socket-common.c:50:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 50 | for (i = 0; i < G_N_ELEMENTS (unix_socket_address_types); i++) | ^
This commit is contained in:
parent
bac08a4b26
commit
f587095cfc
@ -45,7 +45,7 @@ static GSocketAddress *
|
||||
socket_address_from_string (const char *name)
|
||||
{
|
||||
#ifdef G_OS_UNIX
|
||||
int i, len;
|
||||
gsize i, len;
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (unix_socket_address_types); i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user