]> git.sesse.net Git - vlc/blobdiff - src/test/dictionary.c
bloc_test: fix meleak so we can use valgrind on it.
[vlc] / src / test / dictionary.c
index cfe632d66ec8c50c9e007ef7a28bd79880fec762..7cc3ed387b4bca8ac7e7d3f2aef05adbe8c7fc5d 100644 (file)
@@ -37,7 +37,7 @@ static void test_dictionary_validity (vlc_dictionary_t * p_dict, const char ** o
 {
     /* Test values and keys now */
     char ** keys = vlc_dictionary_all_keys( p_dict );
-    long i, j;
+    intptr_t i, j;
 
     assert( keys );
 
@@ -68,7 +68,7 @@ int main (void)
     };
     const int size = sizeof(our_keys)/sizeof(our_keys[0]);
     char ** keys;
-    long i = 0;
+    intptr_t i = 0;
 
     vlc_dictionary_t dict;
     vlc_dictionary_init( &dict, 0 );