[vlc-commits] commit: some platforms can have int64_t typedefed to long long .. This patch prevents illegal implicit conversion from long long * to int * ( pk at pk-desktop.(none) )

git at videolan.org git at videolan.org
Thu Jul 15 07:14:07 CEST 2010


vlc | branch: master | pk at pk-desktop.(none) <pk at pk-desktop.(none)> | Fri Jul 16 00:38:40 2010 +0530| [12a85b8a32922fe28a2d67fd42a592baae8e0dce] | committer: Ilkka Ollakka 

some platforms can have int64_t typedefed to long long ..This patch prevents illegal implicit conversion from long long * to int *

Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>

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

 src/libvlc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libvlc.h b/src/libvlc.h
index 69996de..11263e3 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -267,7 +267,7 @@ int stats_Get (vlc_object_t*, counter_t *, vlc_value_t*);
 void stats_CounterClean (counter_t * );
 
 static inline int stats_GetInteger( vlc_object_t *p_obj, counter_t *p_counter,
-                                    int *value )
+                                    int64_t *value )
 {
     int i_ret;
     vlc_value_t val; val.i_int = 0;



More information about the vlc-commits mailing list