[glib: 16/25] Fixing signedness in glib/gtester.c



commit c3d0440aa209ae588b2c771363ca62d10535eb88
Author: Emmanuel Fleury <emmanuel fleury u-bordeaux fr>
Date:   Mon Feb 4 16:25:30 2019 +0100

    Fixing signedness in glib/gtester.c
    
    glib/gtester.c: In function ‘main’:
    glib/gtester.c:705:19: error: comparison of integer expressions of different signedness: ‘guint’ {aka 
‘unsigned int’} and ‘int’ [-Werror=sign-compare]
       for (ui = 1; ui < argc; ui++)
                       ^

 glib/gtester.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gtester.c b/glib/gtester.c
index fb79fbb0d..368fa8f3d 100644
--- a/glib/gtester.c
+++ b/glib/gtester.c
@@ -677,7 +677,7 @@ int
 main (int    argc,
       char **argv)
 {
-  guint ui;
+  gint ui;
 
   g_set_prgname (argv[0]);
   parse_args (&argc, &argv);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]