diff options
author | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-10-15 13:27:32 +0200 |
---|---|---|
committer | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-11-13 10:12:16 +0100 |
commit | 101a6043300a7187c8e83f0683e267e363d57ccf (patch) | |
tree | 8ff54663060d4835e354abb2e7c3ab0ea8509333 | |
parent | a1758820d700bde333e7a550ba5608be730e285a (diff) | |
download | glib-101a6043300a7187c8e83f0683e267e363d57ccf.tar.gz |
Fix signedness warnings in glib/tests/rcbox.c
glib/tests/rcbox.c: In function ‘test_rcbox_alignment’:
glib/tests/rcbox.c:246:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
246 | for (i = 0; i < G_N_ELEMENTS (block_sizes); i++)
| ^
glib/tests/rcbox.c: In function ‘test_atomic_rcbox_alignment’:
glib/tests/rcbox.c:270:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
270 | for (i = 0; i < G_N_ELEMENTS (block_sizes); i++)
| ^
-rw-r--r-- | glib/tests/rcbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/tests/rcbox.c b/glib/tests/rcbox.c index 73126c7ea..fe10075da 100644 --- a/glib/tests/rcbox.c +++ b/glib/tests/rcbox.c @@ -241,7 +241,7 @@ test_rcbox_alignment (void) sizeof (gint32) * 3, }; - int i; + gsize i; for (i = 0; i < G_N_ELEMENTS (block_sizes); i++) { @@ -265,7 +265,7 @@ test_atomic_rcbox_alignment (void) sizeof (gint32) * 3, }; - int i; + gsize i; for (i = 0; i < G_N_ELEMENTS (block_sizes); i++) { |