[glib] tests: Remove a compiler warning



commit ecadb5a92d8707e60cab9e5db19fb0705846415c
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Feb 2 09:32:09 2014 +0000

    tests: Remove a compiler warning

 glib/tests/slice.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/slice.c b/glib/tests/slice.c
index b24c5e3..4777224 100644
--- a/glib/tests/slice.c
+++ b/glib/tests/slice.c
@@ -119,7 +119,7 @@ thread_allocate (gpointer data)
   gint b;
   gint size;
   gpointer p;
-  volatile void **loc;
+  volatile gpointer *loc;
 
   for (i = 0; i < 10000; i++)
     {


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