[vlc-commits] commit: http: fix warning. ( Rémi Duraffort )

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


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 15 23:14:21 2010 +0200| [496194df14b925c49931c39167c8c09f4c1a113b] | committer: Rémi Duraffort 

http: fix warning.

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

 modules/control/http/http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/control/http/http.c b/modules/control/http/http.c
index bd3062c..828c8e2 100644
--- a/modules/control/http/http.c
+++ b/modules/control/http/http.c
@@ -438,7 +438,7 @@ static void ParseExecute( httpd_file_sys_t *p_args, char *p_buffer,
         if( p_item )
         {
             vlc_mutex_lock( &p_item->p_stats->lock );
-#define STATS_INT( n ) sprintf( stats, "%d", p_item->p_stats->i_ ## n ); \
+#define STATS_INT( n ) sprintf( stats, "%"PRIi64, p_item->p_stats->i_ ## n ); \
                        mvar_AppendNewVar( p_args->vars, #n, stats );
 #define STATS_FLOAT( n ) sprintf( stats, "%f", p_item->p_stats->f_ ## n ); \
                        mvar_AppendNewVar( p_args->vars, #n, stats );



More information about the vlc-commits mailing list