From: pk@pk-desktop.(none) Date: Thu, 15 Jul 2010 18:50:40 +0000 (+0530) Subject: some platforms can have int64_t typedefed to long long ..This patch prevents illegal... X-Git-Tag: 1.2.0-pre1~5822 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=12a85b8a32922fe28a2d67fd42a592baae8e0dce;p=vlc 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 --- diff --git a/src/libvlc.h b/src/libvlc.h index 69996de313..11263e33e0 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;