[vlc-commits] Freetype: fix warnings

Jean-Baptiste Kempf git at videolan.org
Wed Apr 24 18:00:05 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr 24 17:59:52 2013 +0200| [f5a0b79a121c00df9c3d40eab45d9eb9b3b2b8cb] | committer: Jean-Baptiste Kempf

Freetype: fix warnings

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

 modules/text_renderer/freetype.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c
index de7e376..a9787cb 100644
--- a/modules/text_renderer/freetype.c
+++ b/modules/text_renderer/freetype.c
@@ -3061,21 +3061,21 @@ static int OptionCallback( vlc_object_t *p_this, char const *psz_var,
 
     vlc_mutex_lock( &p_sys->lock );
     if( !strcmp(psz_var, "freetype-rel-fontsize") )
-        msg_Dbg( p_this, "changed relative font size to %lli", newval.i_int);
+        msg_Dbg( p_this, "changed relative font size to %"PRId64, newval.i_int);
     else if( !strcmp(psz_var, "freetype-color") ) {
         p_sys->i_font_color = newval.i_int;
         p_sys->i_font_color = VLC_CLIP( p_sys->i_font_color, 0, 0xFFFFFF );
     } else if( !strcmp(psz_var, "freetype-background-opacity") ) {
         p_sys->i_background_opacity = newval.i_int;
-        msg_Dbg( p_filter, "changed background opacity to %lli", newval.i_int);
+        msg_Dbg( p_filter, "changed background opacity to %"PRId64, newval.i_int);
     } else if( !strcmp(psz_var, "freetype-outline-thickness") ) {
         p_sys->f_outline_thickness = newval.i_int / 100.;
         p_sys->f_outline_thickness = VLC_CLIP( p_sys->f_outline_thickness, 0.0, 0.5 );
-        msg_Dbg( p_filter, "changed outline thickness to %lli", newval.i_int);
+        msg_Dbg( p_filter, "changed outline thickness to %"PRId64, newval.i_int);
     } else if( !strcmp(psz_var, "freetype-background-color") ) {
         p_sys->i_background_color = newval.i_int;
         p_sys->i_background_color = VLC_CLIP( p_sys->i_background_color, 0, 0xFFFFFF );
-        msg_Dbg( p_filter, "changed background color to %lli", newval.i_int);
+        msg_Dbg( p_filter, "changed background color to %"PRId64, newval.i_int);
     }
     vlc_mutex_unlock( &p_sys->lock );
 



More information about the vlc-commits mailing list