mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
Fix several signedness warnings in tests/slice-threadinit.c
tests/slice-threadinit.c: In function ‘main’: tests/slice-threadinit.c:77:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 77 | for (j = 0; j < N_MAGAZINE_PROBES; j++) | ^ tests/slice-threadinit.c:108:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 108 | for (j = 0; j < N_MAGAZINE_PROBES; j++) | ^ tests/slice-threadinit.c:113:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 113 | for (j = 0; j < N_MAGAZINE_PROBES; j++) | ^ tests/slice-threadinit.c:131:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 131 | for (j = 0; j < N_MAGAZINE_PROBES; j++) | ^ tests/slice-threadinit.c:139:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 139 | for (j = 0; j < N_MAGAZINE_PROBES; j++) | ^ tests/slice-threadinit.c:161:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 161 | for (j = 0; j < N_MAGAZINE_PROBES; j++) | ^
This commit is contained in:
parent
7b78f0b8ce
commit
026611b5a9
@ -70,7 +70,7 @@ int
|
||||
main (int argc,
|
||||
char *argv[])
|
||||
{
|
||||
int j, n_pages = 0;
|
||||
gsize j, n_pages = 0;
|
||||
void *mps[N_MAGAZINE_PROBES];
|
||||
|
||||
/* probe some magazine sizes */
|
||||
|
Loading…
Reference in New Issue
Block a user