diff options
Diffstat (limited to 'libc/malloc_debug/Config.cpp')
-rw-r--r-- | libc/malloc_debug/Config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/malloc_debug/Config.cpp b/libc/malloc_debug/Config.cpp index 032c1fc93..ce83aa4bb 100644 --- a/libc/malloc_debug/Config.cpp +++ b/libc/malloc_debug/Config.cpp @@ -347,10 +347,10 @@ bool Config::SetFromProperties() { valid = valid && parser.Done(); if (valid) { - // It's necessary to align the front guard to sizeof(uintptr_t) to + // It's necessary to align the front guard to MINIMUM_ALIGNMENT_BYTES to // make sure that the header is aligned properly. if (options & FRONT_GUARD) { - front_guard_bytes = BIONIC_ALIGN(front_guard_bytes, sizeof(uintptr_t)); + front_guard_bytes = BIONIC_ALIGN(front_guard_bytes, MINIMUM_ALIGNMENT_BYTES); } // This situation can occur if the free_track option is specified and |