summaryrefslogtreecommitdiff
path: root/src/kernel/task/task.cpp
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-19 11:45:49 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-19 11:45:49 +0200
commit499ca6c243b05da176a2d4bd9a2317f0b28afc7f (patch)
treef55ff788632b017ab8de83b71ad02b0998e1dda5 /src/kernel/task/task.cpp
parent7b466345af0d3a7dc5622617ce443a90c64e34a4 (diff)
downloadTCE-499ca6c243b05da176a2d4bd9a2317f0b28afc7f.tar.gz
TCE-499ca6c243b05da176a2d4bd9a2317f0b28afc7f.zip
Introducing FWIK, the userland C++ framework. Far from complete.
Diffstat (limited to 'src/kernel/task/task.cpp')
-rw-r--r--src/kernel/task/task.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/task/task.cpp b/src/kernel/task/task.cpp
index 7eb2b36..03425b5 100644
--- a/src/kernel/task/task.cpp
+++ b/src/kernel/task/task.cpp
@@ -349,7 +349,7 @@ static void process_finish(process *pr, int retval) {
if (proc_count == 0) PANIC("No more processes are running! This is bad! Or is it?");
}
-size_t process::sbrk(size_t size) {
+size_t process::sbrk(ptrdiff_t size) {
if (data == 0) return -1;
ASSERT(data < K_HIGHHALF_ADDR);
if (data + size >= K_HIGHHALF_ADDR) return -1;
@@ -420,7 +420,7 @@ void* process::set_args(char** args) {
// ===================== SYSTEM CALLS
-size_t process_sbrk(size_t size) {
+size_t process_sbrk(ptrdiff_t size) {
return current_process->sbrk(size);
}