mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-02 09:44:37 +03:00
fix output for api test
This commit is contained in:
parent
0c62893367
commit
932cea0058
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ int main(void) {
|
||||||
void* p = mi_malloc_aligned(4097,4096);
|
void* p = mi_malloc_aligned(4097,4096);
|
||||||
size_t usable = mi_usable_size(p);
|
size_t usable = mi_usable_size(p);
|
||||||
result = (usable >= 4097 && usable < 16000);
|
result = (usable >= 4097 && usable < 16000);
|
||||||
printf("malloc_aligned5: usable size: %zi\n", usable);
|
fprintf(stderr, "malloc_aligned5: usable size: %zi. ", usable);
|
||||||
mi_free(p);
|
mi_free(p);
|
||||||
};
|
};
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue