• Emmanuel Fleury's avatar
    Fixing signedness in gdataset.c · bfedf0f1
    Emmanuel Fleury authored
    glib/gdataset.c: In function ‘g_datalist_clear_i’:
    glib/gdataset.c:233:21: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint32’ {aka ‘unsigned int’} [-Werror=sign-compare]
           for (i = 0; i < data->len; i++)
                         ^
    glib/gdataset.c: In function ‘g_datalist_clear’:
    glib/gdataset.c:270:21: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint32’ {aka ‘unsigned int’} [-Werror=sign-compare]
           for (i = 0; i < data->len; i++)
                         ^
    glib/gdataset.c: In function ‘g_datalist_foreach’:
    glib/gdataset.c:1147:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint32’ {aka ‘unsigned int’} [-Werror=sign-compare]
           for (j = 0; j < d->len; j++)
                         ^
    bfedf0f1
gdataset.c 34.1 KB