Some fixups

This commit is contained in:
dbalatoni13 2025-04-05 14:38:14 +02:00
parent 6a27eb7356
commit 1acc0961d4
27 changed files with 107 additions and 103 deletions

View file

@ -246,7 +246,7 @@ void *OSAllocFixed(void **rstart, void **rend)
ASSERTMSG(0x1F3, MINOBJSIZE <= (char *)cellEnd - (char *)end);
newCell = (struct Cell *)end;
newCell->size = (intptr_t)((char *)cellEnd - (char *)end);
newCell->size = (uintptr_t)((char *)cellEnd - (char *)end);
newCell->next = cell->next;
if (newCell->next) {
newCell->next->prev = newCell;