silence warning in assignment to gp.value
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 13 May 2004 18:09:53 +0000 (18:09 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 13 May 2004 18:09:53 +0000 (18:09 +0000)
src/mesa/drivers/dri/mach64/mach64_screen.c

index 4d36369ce9d2889dadb18ba33d9a566813a8ecb9..46f40c1c678364851052a99c63424b1f8f9c865e 100644 (file)
@@ -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));