diff options
author | Marcus Huderle <huderlem@gmail.com> | 2019-04-06 13:58:06 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2019-04-06 13:58:06 -0500 |
commit | b251ddf3b45a6d95d38c6c5d1561067d0223c691 (patch) | |
tree | 797c1b1f48025f2347dfdc39aad11c07dfed00af /src/alloc.c | |
parent | fe12f2f4b360e68937e49af8672c8b1b1441223c (diff) |
Add explicit return to Alloc funcs
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c index 2944bc1c6..4d1a9fe5c 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -178,12 +178,12 @@ void InitHeap(void *heapStart, u32 heapSize) void *Alloc(u32 size) { - AllocInternal(sHeapStart, size); + return AllocInternal(sHeapStart, size); } void *AllocZeroed(u32 size) { - AllocZeroedInternal(sHeapStart, size); + return AllocZeroedInternal(sHeapStart, size); } void Free(void *pointer) |