test/map_tests.c

changeset 152
3238f65db163
parent 134
4d320dc3a7af
child 177
11ad03783baf
--- a/test/map_tests.c	Thu Sep 05 13:55:04 2013 +0200
+++ b/test/map_tests.c	Fri Sep 06 13:20:20 2013 +0200
@@ -178,9 +178,9 @@
     int check = 0;
     int hit = 0;
 
-    int* v;
+    void* v;
     UCX_MAP_FOREACH(key, v, i) {
-        check += *v;
+        check += *((int*)v);
         hit++;
     }
 

mercurial