test/map_tests.c

changeset 95
ecfdc1c4a552
parent 88
18823857ce79
child 103
08018864fb91
--- a/test/map_tests.c	Wed Feb 27 11:48:29 2013 +0100
+++ b/test/map_tests.c	Wed Feb 27 13:30:21 2013 +0100
@@ -184,7 +184,7 @@
     const char *string = (const char*) value;
     size_t n = strlen(string);
     char *encoded = (char*) malloc(n+1);
-    for (int i = 0 ; i < n ; i++) {
+    for (size_t i = 0 ; i < n ; i++) {
         encoded[i] = string[n-1-i];
     }
     encoded[n] = 0;

mercurial