From: Brian Paul Date: Thu, 13 May 2004 18:09:53 +0000 (+0000) Subject: silence warning in assignment to gp.value X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4bc136273576ec73a9cf57513b6e71f56856890;p=mesa.git silence warning in assignment to gp.value --- diff --git a/src/mesa/drivers/dri/mach64/mach64_screen.c b/src/mesa/drivers/dri/mach64/mach64_screen.c index 4d36369ce9d..46f40c1c678 100644 --- a/src/mesa/drivers/dri/mach64/mach64_screen.c +++ b/src/mesa/drivers/dri/mach64/mach64_screen.c @@ -234,7 +234,7 @@ mach64CreateScreen( __DRIscreenPrivate *sPriv ) int ret; gp.param = MACH64_PARAM_IRQ_NR; - gp.value = &mach64Screen->irq; + gp.value = (void *) &mach64Screen->irq; ret = drmCommandWriteRead( sPriv->fd, DRM_MACH64_GETPARAM, &gp, sizeof(gp));