Date: Sun, 22 Oct 2006 16:32:23 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 108269 for review Message-ID: <200610221632.k9MGWNjP005587@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=108269 Change 108269 by rdivacky@rdivacky_witten on 2006/10/22 16:31:53 Make it compilable on amd64. Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_futex.c#5 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_futex.c#5 (text+ko) ==== @@ -493,7 +493,7 @@ for (;;) { ua = ua_old = fuword32(uaddr); ua |= oparg; - if (casuword32((intptr_t *)uaddr, ua_old, ua) == ua_old) + if (casuword32((void *)uaddr, ua_old, ua) == ua_old) return ua_old; } } @@ -506,7 +506,7 @@ for (;;) { ua = ua_old = fuword32(uaddr); ua &= oparg; - if (casuword32((intptr_t *)uaddr, ua_old, ua) == ua_old) + if (casuword32((void *)uaddr, ua_old, ua) == ua_old) return ua_old; } } @@ -519,7 +519,7 @@ for (;;) { ua = ua_old = fuword32(uaddr); ua ^= oparg; - if (casuword32((intptr_t *)uaddr, ua_old, ua) == ua_old) + if (casuword32((void *)uaddr, ua_old, ua) == ua_old) return ua_old; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610221632.k9MGWNjP005587>