macros: fix macro for GiB

tags/0.1.0
S.J.R. van Schaik 7 years ago
parent 77c3e5f440
commit 13ea9ce49d
  1. 2
      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)))

Loading…
Cancel
Save