diff options
author | jhb <jhb@FreeBSD.org> | 2001-02-22 02:10:33 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-02-22 02:10:33 +0000 |
commit | c5479c262ccf473a4783fec4f63b7c62a31a3afa (patch) | |
tree | 926476eb9b378fab1ae3b7f0da354debbdfe46af /sys/kern/kern_fork.c | |
parent | a05021f4359ec32c4c1ca41547a1a8f480b5133c (diff) | |
download | FreeBSD-src-c5479c262ccf473a4783fec4f63b7c62a31a3afa.zip FreeBSD-src-c5479c262ccf473a4783fec4f63b7c62a31a3afa.tar.gz |
Quiet a warning with a uintptr_t cast.
Noticed by: bde
Diffstat (limited to 'sys/kern/kern_fork.c')
-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 7f6be26..9f19669 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); /* |