From f4bc136273576ec73a9cf57513b6e71f56856890 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 13 May 2004 18:09:53 +0000 Subject: [PATCH] silence warning in assignment to gp.value --- src/mesa/drivers/dri/mach64/mach64_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2