mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 14:06:15 +01:00
Fix signedness warnings in glib/tests/logging.c
glib/tests/logging.c: In function ‘compare_fields’: glib/tests/logging.c:403:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘gsize’ {aka ‘long unsigned int’} 403 | for (i = 0; i < n1; i++) | ^ glib/tests/logging.c:405:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘gsize’ {aka ‘long unsigned int’} 405 | for (j = 0; j < n2; j++) | ^ glib/tests/logging.c:410:13: error: comparison of integer expressions of different signedness: ‘int’ and ‘gsize’ {aka ‘long unsigned int’} 410 | if (j == n2) | ^~
This commit is contained in:
parent
b3244bee0c
commit
8fc0080b5e
@ -398,7 +398,7 @@ compare_field (const GLogField *f1, const GLogField *f2)
|
||||
static gboolean
|
||||
compare_fields (const GLogField *f1, gsize n1, const GLogField *f2, gsize n2)
|
||||
{
|
||||
int i, j;
|
||||
gsize i, j;
|
||||
|
||||
for (i = 0; i < n1; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user