mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
silence warning in assignment to gp.value
This commit is contained in:
parent
7d749ec9be
commit
f4bc136273
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue