mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 12:26:38 -05:00
Fix overflow in the TERA/TEBI definition
This commit is contained in:
parent
6f1fb3b397
commit
447b1fd067
2 changed files with 6 additions and 6 deletions
|
|
@ -36,11 +36,11 @@ const char* lev_config_name(unsigned level);
|
|||
#define KILO (1000)
|
||||
#define MEGA (1000 * 1000)
|
||||
#define GIGA (1000 * 1000 * 1000)
|
||||
#define TERA (1000 * 1000 * 1000 * 1000UL)
|
||||
#define TERA (1000 * 1000 * 1000 * (uint64_t)1000)
|
||||
#define KIBI (1024)
|
||||
#define MEBI (1024 * 1024)
|
||||
#define GIBI (1024 * 1024 * 1024)
|
||||
#define TEBI (1024 * 1024 * 1024 * 1024UL)
|
||||
#define TEBI (1024 * 1024 * 1024 * (uint64_t)1024)
|
||||
|
||||
#define SORT_PHYSICAL 1 /**< Sort by physical order. */
|
||||
#define SORT_INODE 2 /**< Sort by inode. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue