From 13ea9ce49d414b21d796ce4f0243b27184952a60 Mon Sep 17 00:00:00 2001 From: "S.J.R. van Schaik" Date: Fri, 7 Apr 2017 18:34:32 +0200 Subject: [PATCH] macros: fix macro for GiB --- include/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))