[glib: 1/8] Fix signedness warnings in tests/gobject/performance-threaded.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/8] Fix signedness warnings in tests/gobject/performance-threaded.c
- Date: Thu, 6 May 2021 16:43:22 +0000 (UTC)
commit 7b78f0b8ced550edde0a1b6277b9c8ee37a1a82f
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Tue May 4 16:11:33 2021 +0200
Fix signedness warnings in tests/gobject/performance-threaded.c
I did it wrong last time... my bad...
tests/gobject/performance-threaded.c: In function ‘main’:
tests/gobject/performance-threaded.c:361:21: warning: comparison of integer expressions of different
signedness: ‘gsize’ {aka ‘long unsigned int’} and ‘int’
361 | for (k = 1; k < argc; k++)
| ^
tests/gobject/performance-threaded.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/gobject/performance-threaded.c b/tests/gobject/performance-threaded.c
index 897372e9b..6a04ba0fd 100644
--- a/tests/gobject/performance-threaded.c
+++ b/tests/gobject/performance-threaded.c
@@ -357,7 +357,7 @@ main (int argc,
if (argc > 1)
{
- gsize k;
+ int k;
for (k = 1; k < argc; k++)
{
test = find_test (argv[k]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]