gbowne1implfix #1

Merged
Karutoh merged 10 commits from gbowne1implfix into main 2024-02-08 17:41:13 -08:00
Showing only changes of commit 6525d5f2b9 - Show all commits

2
main.c
View File

@ -100,7 +100,7 @@ void free(void* ptr)
if (!ptr)
return;
struct block* b = ptr - 1;
struct block* b = (struct block*)ptr - 1;
b->free = 1;
struct block* link = b->next;