summaryrefslogtreecommitdiff
path: root/Source/Library/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Library/Userland')
-rw-r--r--Source/Library/Userland/Start.cpp4
-rw-r--r--Source/Library/Userland/common.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Library/Userland/Start.cpp b/Source/Library/Userland/Start.cpp
index 930c4dd..4c5c559 100644
--- a/Source/Library/Userland/Start.cpp
+++ b/Source/Library/Userland/Start.cpp
@@ -47,7 +47,7 @@ extern "C" void start() {
}
namespace Mem {
- void* alloc (u32int sz) { return heap.alloc(sz); }
+ void* alloc (size_t sz) { return heap.alloc(sz); }
void free(void* ptr) { heap.free(ptr); }
- void* mkXchgSpace (u32int sz) { return alloc(sz); }
+ void* mkXchgSpace (size_t sz) { return alloc(sz); }
}
diff --git a/Source/Library/Userland/common.h b/Source/Library/Userland/common.h
index 679afd0..5569009 100644
--- a/Source/Library/Userland/common.h
+++ b/Source/Library/Userland/common.h
@@ -8,9 +8,9 @@
#include <CMem.ns.h>
namespace Mem {
- void* alloc(u32int);
+ void* alloc(size_t);
void free(void*);
- void* mkXchgSpace(u32int sz);
+ void* mkXchgSpace(size_t sz);
}
//Standard implemenations of operator new/delete