Fix "warning: assignment from incompatible pointer type".
This commit is contained in:
parent
02a8b118cd
commit
17ed6242e7
|
@ -295,7 +295,7 @@ GetMotionHistory(DeviceIntPtr pDev, xTimecoord **buff, unsigned long start,
|
|||
*buff = xalloc(size * pDev->valuator->numMotionEvents);
|
||||
if (!(*buff))
|
||||
return 0;
|
||||
obuff = *buff;
|
||||
obuff = (char *)*buff;
|
||||
|
||||
for (i = pDev->valuator->first_motion;
|
||||
i != pDev->valuator->last_motion;
|
||||
|
|
Loading…
Reference in New Issue
Block a user