From c5479c262ccf473a4783fec4f63b7c62a31a3afa Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 22 Feb 2001 02:10:33 +0000 Subject: Quiet a warning with a uintptr_t cast. Noticed by: bde --- sys/kern/kern_fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/kern_fork.c') 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); /* -- cgit v1.1