summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/GuardData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/malloc_debug/GuardData.cpp')
-rw-r--r--libc/malloc_debug/GuardData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/malloc_debug/GuardData.cpp b/libc/malloc_debug/GuardData.cpp
index 4ba5253d4..c70e8f108 100644
--- a/libc/malloc_debug/GuardData.cpp
+++ b/libc/malloc_debug/GuardData.cpp
@@ -75,7 +75,7 @@ FrontGuardData::FrontGuardData(const Config& config, size_t* offset)
// Create a buffer for fast comparisons of the front guard.
cmp_mem_.resize(config.front_guard_bytes);
memset(cmp_mem_.data(), config.front_guard_value, cmp_mem_.size());
- // Assumes that front_bytes is a multiple of sizeof(uintptr_t).
+ // Assumes that front_bytes is a multiple of MINIMUM_ALIGNMENT_BYTES.
offset_ = *offset;
*offset += config.front_guard_bytes;
}