aboutsummaryrefslogtreecommitdiffstats
path: root/src/allocator.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/allocator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/allocator.c b/src/allocator.c
index 41ce9ed..fd821a9 100644
--- a/src/allocator.c
+++ b/src/allocator.c
@@ -34,6 +34,7 @@ libzahl_realloc(z_t a, size_t need)
zahl_char_t *new;
#if defined(__clang__)
+ /* https://llvm.org/bugs/show_bug.cgi?id=26930 */
need = clang_warkaround_next_2pow(need);
#else
NEXT_2POW(need);