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:
Emmanuel Fleury 2020-11-14 13:12:09 +01:00
parent c3388932fd
commit f5b2b8132d

View File

@ -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))