summaryrefslogtreecommitdiff
path: root/dix/getevents.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-06-13 21:03:17 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-06-13 21:03:17 -0400
commit17ed6242e73c5f733601b15732ab30c23acf14d2 (patch)
treec6adb190f52eb2a112e91f4a257522555395b098 /dix/getevents.c
parent02a8b118cd07d98f12aab8325d8443125703ba7d (diff)
Fix "warning: assignment from incompatible pointer type".
Diffstat (limited to 'dix/getevents.c')
-rw-r--r--dix/getevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/getevents.c b/dix/getevents.c
index fc07496f4..b9e022052 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -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;