diff options
author | John Baldwin <jhb@FreeBSD.org> | 2001-02-22 02:10:33 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2001-02-22 02:10:33 +0000 |
commit | 9764c9d36e5a00939d7d0ea9aa35579657077c63 (patch) | |
tree | 57737bd48cc5ba663e6b548f393f6ebb512e9e12 /sys | |
parent | 5a93f3e851b70dd75f82390eadc56a3fe01f15df (diff) | |
download | src-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')
-rw-r--r-- | sys/kern/kern_fork.c | 2 |
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); /* |