summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4v/io/glvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sun4v/io/glvc.c')
-rw-r--r--usr/src/uts/sun4v/io/glvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/sun4v/io/glvc.c b/usr/src/uts/sun4v/io/glvc.c
index 7e720ed110..0743b9d329 100644
--- a/usr/src/uts/sun4v/io/glvc.c
+++ b/usr/src/uts/sun4v/io/glvc.c
@@ -936,7 +936,7 @@ glvc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p,
glvc_peek_msg.buflen;
if (ddi_copyout((caddr_t)glvc_peek_msg.buf,
- (caddr_t)msg_peek_cmd32.buf32,
+ (caddr_t)(uintptr_t)msg_peek_cmd32.buf32,
msg_peek_cmd32.buflen32, mode) == -1) {
retval = EFAULT;
break;