Commit 419f4767 authored by Petri Hintukainen's avatar Petri Hintukainen Committed by Jean-Baptiste Kempf

Update: Use correct printf format

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 8b66dc63
...@@ -482,7 +482,7 @@ static char *size_str( uint64_t l_size ) ...@@ -482,7 +482,7 @@ static char *size_str( uint64_t l_size )
else if( l_size >> 10 ) else if( l_size >> 10 )
i_retval = asprintf( &psz_tmp, _("%.1f KiB"), (float)l_size/(1<<10) ); i_retval = asprintf( &psz_tmp, _("%.1f KiB"), (float)l_size/(1<<10) );
else 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; return i_retval == -1 ? NULL : psz_tmp;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment