[glib: 3/5] grand: Fix -Wsign-compare warning



commit 91c0c6f95b29f285f5f0c63fa1201a7e84281f7f
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Jul 10 14:16:41 2018 +0200

    grand: Fix -Wsign-compare warning
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib/grand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/grand.c b/glib/grand.c
index 610fc69c6..fcbc6f42f 100644
--- a/glib/grand.c
+++ b/glib/grand.c
@@ -388,7 +388,7 @@ g_rand_set_seed_array (GRand         *rand,
                        const guint32 *seed,
                        guint          seed_length)
 {
-  int i, j, k;
+  guint i, j, k;
 
   g_return_if_fail (rand != NULL);
   g_return_if_fail (seed_length >= 1);


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