• Emmanuel Fleury's avatar
    Fixing signedness in glib/gvariant.c · 3f3a7472
    Emmanuel Fleury authored
    glib/gvariant.c: In function ‘g_variant_new_strv’:
    glib/gvariant.c:1563:17: error: comparison of integer expressions of different signedness: ‘gsize’ {aka ‘long unsigned int’} and ‘gssize’ {aka ‘long int’} [-Werror=sign-compare]
       for (i = 0; i < length; i++)
                     ^
    glib/gvariant.c: In function ‘g_variant_new_objv’:
    glib/gvariant.c:1699:17: error: comparison of integer expressions of different signedness: ‘gsize’ {aka ‘long unsigned int’} and ‘gssize’ {aka ‘long int’} [-Werror=sign-compare]
       for (i = 0; i < length; i++)
                     ^
    glib/gvariant.c: In function ‘g_variant_new_bytestring_array’:
    glib/gvariant.c:1939:17: error: comparison of integer expressions of different signedness: ‘gsize’ {aka ‘long unsigned int’} and ‘gssize’ {aka ‘long int’} [-Werror=sign-compare]
       for (i = 0; i < length; i++)
                     ^
    3f3a7472