summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-05-13 18:09:53 +0000
committerBrian Paul <[email protected]>2004-05-13 18:09:53 +0000
commitf4bc136273576ec73a9cf57513b6e71f56856890 (patch)
tree63b222269be6197b0ca771561e9fb3264aa38429 /src
parent7d749ec9beaba62c5d5264eb9657cd9651bd4769 (diff)
silence warning in assignment to gp.value
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_screen.c2
1 files changed, 1 insertions, 1 deletions
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));