diff options
Diffstat (limited to 'src/kernel/task/task.cpp')
-rw-r--r-- | src/kernel/task/task.cpp | 4 |
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); } |