simple type casting

This commit is contained in:
2025-07-14 23:13:27 +09:00
parent 07cbbfa02a
commit d8457359c4
3 changed files with 4 additions and 4 deletions

View File

@ -643,7 +643,7 @@ static void* _realloc_merge (hawk_xma_t* xma, void* b, hawk_oow_t size)
/* link the leftover block to the free list */
mblk_size(blk) = size;
y = next_mblk(blk); /* update y to the leftover block with the new block size set above */
y = (hawk_uint8_t*)next_mblk(blk); /* update y to the leftover block with the new block size set above */
mblk_free(y) = 1;
mblk_size(y) = rem - MBLKHDRSIZE;
mblk_prev_size(y) = mblk_size(blk);