1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Use type "unsigned long long" for API function string_format_size

This commit is contained in:
Sebastien Helleu
2010-11-10 16:34:56 +01:00
parent 9ff51e04eb
commit 11b3dd2874
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1283,7 +1283,7 @@ string_iconv_fprintf (FILE *file, const char *data, ...)
*/
char *
string_format_size (unsigned long size)
string_format_size (unsigned long long size)
{
char *unit_name[] = { N_("bytes"), N_("KB"), N_("MB"), N_("GB") };
char *unit_format[] = { "%.0f", "%.1f", "%.02f", "%.02f" };