Make bulk_free() go faster

This commit is contained in:
Justine Tunney 2024-12-23 20:14:01 -08:00
parent 624573207e
commit c8e10eef30
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
13 changed files with 54 additions and 36 deletions

View file

@ -35,8 +35,8 @@
*/
void *NewCosmoStack(void) {
void *stackaddr;
size_t stacksize = GetStackSize();
size_t guardsize = GetGuardSize();
unsigned stacksize = GetStackSize();
unsigned guardsize = GetGuardSize();
errno_t err = cosmo_stack_alloc(&stacksize, &guardsize, &stackaddr);
if (!err)
return stackaddr;