mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix signedness warning in glib/guri.c
glib/guri.c: In function ‘should_normalize_empty_path’: glib/guri.c:756:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 756 | for (i = 0; i < G_N_ELEMENTS (schemes); ++i) | ^
This commit is contained in:
parent
c3388932fd
commit
f5b2b8132d
@ -752,7 +752,7 @@ static gboolean
|
||||
should_normalize_empty_path (const char *scheme)
|
||||
{
|
||||
const char * const schemes[] = { "https", "http", "wss", "ws" };
|
||||
int i;
|
||||
gsize i;
|
||||
for (i = 0; i < G_N_ELEMENTS (schemes); ++i)
|
||||
{
|
||||
if (!strcmp (schemes[i], scheme))
|
||||
|
Loading…
Reference in New Issue
Block a user