diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-12-10 09:16:08 -0800 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-12-10 09:16:08 -0800 |
commit | 25537c3d3b9b68af91573dec39d1f46c3d97f735 (patch) | |
tree | 3f2ea6207a28fe9610d767dd78fb24d17f858ce0 /src/base/mem/interface.c | |
parent | f4aef385bdd41b02ef58b5366fa9318ecdc6e37e (diff) |
Checkin: small sprawling updates
Small touches to multiple locations in base.
Nothing major
Diffstat (limited to 'src/base/mem/interface.c')
-rw-r--r-- | src/base/mem/interface.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/base/mem/interface.c b/src/base/mem/interface.c index aa76c85..374fac0 100644 --- a/src/base/mem/interface.c +++ b/src/base/mem/interface.c @@ -6,17 +6,12 @@ static void } static void * -·alloc(void *_, uint n, ulong size) { - return malloc(n*size); -} - -static void * -·calloc(void *_, long n, ulong size) { +·calloc(void *_, uintptr n, uintptr size) { return calloc(n, size); } static void * -·realloc(void *_, void *ptr, long n, ulong size) { +·realloc(void *_, void *ptr, uintptr n, uintptr size) { return realloc(ptr, n*size); } |