summaryrefslogtreecommitdiff
path: root/Kernel/Thread.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-01-20 13:38:31 +0100
committerAndreas Kling <kling@serenityos.org>2020-01-20 13:41:21 +0100
commite901a3695ac733c97d72abac07d5a6dccfd60c6a (patch)
treef12e470b6842ac2aa2f58aa0d8cf37281b78e0d3 /Kernel/Thread.h
parentd5426fcc888df700ff356009bb685a5b397f4361 (diff)
downloadserenity-e901a3695ac733c97d72abac07d5a6dccfd60c6a.zip
Kernel: Use the templated copy_to/from_user() in more places
These ensure that the "to" and "from" pointers have the same type, and also that we copy the correct number of bytes.
Diffstat (limited to 'Kernel/Thread.h')
-rw-r--r--Kernel/Thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Thread.h b/Kernel/Thread.h
index 06562264e8..c73c7a5931 100644
--- a/Kernel/Thread.h
+++ b/Kernel/Thread.h
@@ -365,7 +365,7 @@ public:
FPUState& fpu_state() { return *m_fpu_state; }
void set_default_signal_dispositions();
- void push_value_on_stack(u32);
+ void push_value_on_stack(uintptr_t);
u32 make_userspace_stack_for_main_thread(Vector<String> arguments, Vector<String> environment);