diff --git a/libc/bionic/malloc_debug_leak.c b/libc/bionic/malloc_debug_leak.c index 316d5fe21..4bcf8e5b8 100644 --- a/libc/bionic/malloc_debug_leak.c +++ b/libc/bionic/malloc_debug_leak.c @@ -66,7 +66,9 @@ extern HashTable gHashTable; // stack trace functions // ============================================================================= -#define MALLOC_ALIGNMENT 8 +#ifndef MALLOC_ALIGNMENT +#define MALLOC_ALIGNMENT ((size_t)8U) +#endif #define GUARD 0x48151642 #define DEBUG 0