silence warning in assignment to gp.value

This commit is contained in:
Brian Paul 2004-05-13 18:09:53 +00:00
parent 7d749ec9be
commit f4bc136273

View 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));