From a2cf3837a334a8a9df271724dd81fef78a97e6de Mon Sep 17 00:00:00 2001 From: James Benton Date: Fri, 2 Jun 2017 11:41:03 +0100 Subject: [PATCH] coreinit: Fix type from uint8_t * to void * in MEMExpHeap functions. --- include/coreinit/expandedheap.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/coreinit/expandedheap.h b/include/coreinit/expandedheap.h index d5c270d..8b87c40 100644 --- a/include/coreinit/expandedheap.h +++ b/include/coreinit/expandedheap.h @@ -83,7 +83,7 @@ MEMAllocFromExpHeapEx(MEMExpandedHeap *heap, void MEMFreeToExpHeap(MEMExpandedHeap *heap, - uint8_t *block); + void *block); MEMExpandedHeapMode MEMSetAllocModeForExpHeap(MEMExpandedHeap *heap, @@ -97,7 +97,7 @@ MEMAdjustExpHeap(MEMExpandedHeap *heap); uint32_t MEMResizeForMBlockExpHeap(MEMExpandedHeap *heap, - uint8_t *address, + void *block, uint32_t size); uint32_t @@ -115,13 +115,13 @@ uint16_t MEMGetGroupIDForExpHeap(MEMExpandedHeap *heap); uint32_t -MEMGetSizeForMBlockExpHeap(uint8_t *addr); +MEMGetSizeForMBlockExpHeap(void *block); uint16_t -MEMGetGroupIDForMBlockExpHeap(uint8_t *addr); +MEMGetGroupIDForMBlockExpHeap(void *block); MEMExpandedHeapDirection -MEMGetAllocDirForMBlockExpHeap(uint8_t *addr); +MEMGetAllocDirForMBlockExpHeap(void *block); #ifdef __cplusplus }