diff options
author | David Xu <davidxu@FreeBSD.org> | 2009-04-13 05:21:17 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2009-04-13 05:21:17 +0000 |
commit | 945488297be03e7f6a822aeb1a4cda1722e25dec (patch) | |
tree | c2be058860e149ed39b9f910020d2474d0c96b7f /sys/kern/kern_umtx.c | |
parent | 89047529ac3d9013445e80ee8fc618c9f5be0001 (diff) | |
download | src-945488297be03e7f6a822aeb1a4cda1722e25dec.tar.gz src-945488297be03e7f6a822aeb1a4cda1722e25dec.zip |
Notes
Diffstat (limited to 'sys/kern/kern_umtx.c')
-rw-r--r-- | sys/kern/kern_umtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c index 46e06c05e348..bcb60edd8d14 100644 --- a/sys/kern/kern_umtx.c +++ b/sys/kern/kern_umtx.c @@ -975,7 +975,7 @@ do_wait(struct thread *td, void *addr, u_long id, if (compat32 == 0) tmp = fuword(addr); else - tmp = fuword32(addr); + tmp = (unsigned int)fuword32(addr); if (tmp != id) { umtxq_lock(&uq->uq_key); umtxq_remove(uq); |