[vlc-commits] commit: Fix compiler warning. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Thu Jul 15 23:51:39 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 15 23:32:10 2010 +0200| [b694c2d0512da5ccd93b9141594f96e8b0486a46] | committer: Rémi Duraffort 

Fix compiler warning.

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

 src/text/strings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/text/strings.c b/src/text/strings.c
index 0a31474..cd110e7 100644
--- a/src/text/strings.c
+++ b/src/text/strings.c
@@ -695,7 +695,7 @@ char *str_format_meta( vlc_object_t *p_object, const char *string )
                     if( p_item && p_item->p_stats )
                     {
                         vlc_mutex_lock( &p_item->p_stats->lock );
-                        snprintf( buf, 10, "%d",
+                        snprintf( buf, 10, "%"PRIi64,
                                   p_item->p_stats->i_displayed_pictures );
                         vlc_mutex_unlock( &p_item->p_stats->lock );
                     }



More information about the vlc-commits mailing list