[vlc-devel] commit: dictionary: intptr_t to be nice with LLP64. (Pierre d'Herbemont )

git version control git at videolan.org
Wed Aug 26 11:43:09 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Aug 26 11:28:31 2009 +0200| [bacfecb27fb8db571253706f446b11a3be1a2d6c] | committer: Pierre d'Herbemont 

dictionary: intptr_t to be nice with LLP64.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bacfecb27fb8db571253706f446b11a3be1a2d6c
---

 src/test/dictionary.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/dictionary.c b/src/test/dictionary.c
index cfe632d..7cc3ed3 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 );




More information about the vlc-devel mailing list