[vlc-commits] Update: Use correct printf format
Petri Hintukainen
git at videolan.org
Sun Oct 18 23:13:16 CEST 2015
vlc | branch: master | Petri Hintukainen <phintuka at gmail.com> | Fri Oct 16 21:29:53 2015 +0300| [419f47670daeed2888e619a9a224fc622b04d5d8] | committer: Jean-Baptiste Kempf
Update: Use correct printf format
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=419f47670daeed2888e619a9a224fc622b04d5d8
---
src/misc/update.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/update.c b/src/misc/update.c
index ca2ba67..1d7f765 100644
--- a/src/misc/update.c
+++ b/src/misc/update.c
@@ -482,7 +482,7 @@ static char *size_str( uint64_t l_size )
else if( l_size >> 10 )
i_retval = asprintf( &psz_tmp, _("%.1f KiB"), (float)l_size/(1<<10) );
else
- i_retval = asprintf( &psz_tmp, _("%ld B"), l_size );
+ i_retval = asprintf( &psz_tmp, _("%"PRIu64" B"), l_size );
return i_retval == -1 ? NULL : psz_tmp;
}
More information about the vlc-commits
mailing list