From 085c2a88d44ebac41c64c32ee6b796ff64e5331f Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Thu, 10 Aug 2023 22:48:37 +0800 Subject: status: support large file sizes on 64bit systems Convert all unsigned long nums to unsigned long long in order to let the UI safely display sizes >= 4GB --- src/utils/size_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/size_info.h') diff --git a/src/utils/size_info.h b/src/utils/size_info.h index e0994c1..238ddf8 100644 --- a/src/utils/size_info.h +++ b/src/utils/size_info.h @@ -9,6 +9,6 @@ typedef struct size_info { const char *unit_str; } size_info_t; -size_info_t num2sizeinfo(const unsigned long n); +size_info_t num2sizeinfo(const unsigned long long n); #endif -- cgit v1.2.3