summaryrefslogtreecommitdiff
path: root/Source/Library/Common/Heap.class.cpp
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-26 14:56:28 +0100
committerAlexis211 <alexis211@gmail.com>2009-10-26 14:56:28 +0100
commit4cab9cdad95aba4934b22872c94e44fab759250c (patch)
treeb45cf1ba9b196c41b7580ded72a8cbc6a6fd7764 /Source/Library/Common/Heap.class.cpp
parentd68a064819deaaa8e01eca3c7809050b25cedfbd (diff)
downloadMelon-4cab9cdad95aba4934b22872c94e44fab759250c.tar.gz
Melon-4cab9cdad95aba4934b22872c94e44fab759250c.zip
Some changes...
Diffstat (limited to 'Source/Library/Common/Heap.class.cpp')
-rw-r--r--Source/Library/Common/Heap.class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Library/Common/Heap.class.cpp b/Source/Library/Common/Heap.class.cpp
index 34e4dc4..45a3669 100644
--- a/Source/Library/Common/Heap.class.cpp
+++ b/Source/Library/Common/Heap.class.cpp
@@ -137,7 +137,7 @@ void Heap::contract() { //Automatically work out how much we can contract
m_end = newEnd;
}
-void *Heap::alloc(u32int sz, bool no_expand) {
+void *Heap::alloc(size_t sz, bool no_expand) {
m_mutex.waitLock();
u32int newsize = sz + sizeof(heap_header_t) + sizeof(heap_footer_t);