From: Pierre d'Herbemont Date: Wed, 26 Aug 2009 09:28:31 +0000 (+0200) Subject: dictionary: intptr_t to be nice with LLP64. X-Git-Tag: 1.1.0-ff~3878 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=bacfecb27fb8db571253706f446b11a3be1a2d6c;p=vlc dictionary: intptr_t to be nice with LLP64. --- diff --git a/src/test/dictionary.c b/src/test/dictionary.c index cfe632d66e..7cc3ed387b 100644 --- a/src/test/dictionary.c +++ b/src/test/dictionary.c @@ -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 );