aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-02-22 02:10:33 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-02-22 02:10:33 +0000
commit9764c9d36e5a00939d7d0ea9aa35579657077c63 (patch)
tree57737bd48cc5ba663e6b548f393f6ebb512e9e12 /sys/kern/kern_fork.c
parent5a93f3e851b70dd75f82390eadc56a3fe01f15df (diff)
downloadsrc-9764c9d36e5a00939d7d0ea9aa35579657077c63.tar.gz
src-9764c9d36e5a00939d7d0ea9aa35579657077c63.zip
Quiet a warning with a uintptr_t cast.
Noticed by: bde
Notes
Notes: svn path=/head/; revision=72835
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 7f6be260e9a1..9f19669a5649 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -649,7 +649,7 @@ fork_exit(callout, arg, frame)
/*
* Setup the sched_lock state so that we can release it.
*/
- sched_lock.mtx_lock = curproc;
+ sched_lock.mtx_lock = (uintptr_t)curproc;
sched_lock.mtx_recurse = 0;
mtx_unlock_spin(&sched_lock);
/*