[vlc-commits] RC: fix format string

Rémi Denis-Courmont git at videolan.org
Sat Apr 30 13:05:44 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 30 14:05:30 2011 +0300| [361edf8217680c6e1371e568538989b71b061e44] | committer: Rémi Denis-Courmont

RC: fix format string

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

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

diff --git a/modules/control/rc.c b/modules/control/rc.c
index 4fea140..ce59f87 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -904,7 +904,7 @@ static int VolumeChanged( vlc_object_t *p_this, char const *psz_cmd,
     intf_thread_t *p_intf = (intf_thread_t*)p_data;
 
     vlc_mutex_lock( &p_intf->p_sys->status_lock );
-    msg_rc( STATUS_CHANGE "( audio volume: %d )", newval.i_int );
+    msg_rc( STATUS_CHANGE "( audio volume: %"PRId64" )", newval.i_int );
     vlc_mutex_unlock( &p_intf->p_sys->status_lock );
     return VLC_SUCCESS;
 }



More information about the vlc-commits mailing list