]> git.sesse.net Git - vlc/commitdiff
dictionary: intptr_t to be nice with LLP64.
authorPierre d'Herbemont <pdherbemont@free.fr>
Wed, 26 Aug 2009 09:28:31 +0000 (11:28 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Wed, 26 Aug 2009 09:28:31 +0000 (11:28 +0200)
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 );