macros: fix macro for GiB

This commit is contained in:
S.J.R. van Schaik 2017-04-07 18:34:32 +02:00
parent 77c3e5f440
commit 13ea9ce49d

View file

@ -8,7 +8,7 @@
/* Human-readable sizes */
#define KIB 1024
#define MIB (1024 * KIB)
#define GIB (1024 * GIB)
#define GIB (1024 * MIB)
/* Rounding */
#define IS_ROUND(x, k) (!((x) & ((k) - 1)))