diff --git a/include/macros.h b/include/macros.h index fbb9492..9c195a6 100644 --- a/include/macros.h +++ b/include/macros.h @@ -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)))