Skip to content

Commit 0837df6

Browse files
committed
FIX: warning: pointer type mismatch
1 parent 48e7726 commit 0837df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/m-pools.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ const REBPOOLSPEC Mem_Pool_Spec[MAX_POOLS] =
619619
//printf("HOB %p free mem: %p %i\n", hob, hob->data, spec.flags);
620620

621621
if (spec.free) {
622-
spec.free(spec.flags & HANDLE_REQUIRES_HOB_ON_FREE ? hob : hob->data);
622+
spec.free(spec.flags & HANDLE_REQUIRES_HOB_ON_FREE ? (void*)hob : (void*)hob->data);
623623
}
624624

625625
CLEAR(hob->data, spec.size);

0 commit comments

Comments
 (0)