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:
@@ -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" };
|
||||
|
||||
Reference in New Issue
Block a user