[vlc-devel] [PATCH] Use correct printf format
Petri Hintukainen
phintuka at gmail.com
Fri Oct 16 20:29:53 CEST 2015
---
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;
}
--
2.1.4
More information about the vlc-devel
mailing list