summaryrefslogtreecommitdiff
path: root/test/test-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-api.c')
-rw-r--r--test/test-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-api.c b/test/test-api.c
index 9681733..f057799 100644
--- a/test/test-api.c
+++ b/test/test-api.c
@@ -163,7 +163,7 @@ int main(void) {
for (size_t align = 1; align <= MI_ALIGNMENT_MAX && ok; align *= 2) {
void* ps[8];
for (int i = 0; i < 8 && ok; i++) {
- ps[i] = mi_malloc_aligned(align/2 /*size*/, align);
+ ps[i] = mi_malloc_aligned(align*13 /*size*/, align);
if (ps[i] == NULL || (uintptr_t)(ps[i]) % align != 0) {
ok = false;
}