diff options
author | Simon Thum <simon.thum@gmx.de> | 2011-02-23 02:29:35 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-03-02 15:00:08 +1000 |
commit | 1c008e7e7865b405b8033f625333cd64ece4499e (patch) | |
tree | 4003c754ab924a4c1c1f21a78726259d529e5b47 /dix | |
parent | a4b85261859b17dba9ad8f7f1ce650133f0235d4 (diff) |
dix: change all timestamps in pointer acceleration to CARD32
CARD32 is being returned by GetTimeInMilis(), so use it consistently.
Signed-off-by: Simon Thum <simon.thum@gmx.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/ptrveloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c index ed80af5d7..ccd445e86 100644 --- a/dix/ptrveloc.c +++ b/dix/ptrveloc.c @@ -1072,7 +1072,7 @@ void acceleratePointerPredictable( DeviceIntPtr dev, ValuatorMask* val, - int evtime) + CARD32 evtime) { float fdx, fdy, tmp, mult; /* no need to init */ int dx = 0, dy = 0, tmpi; @@ -1151,7 +1151,7 @@ void acceleratePointerLightweight( DeviceIntPtr dev, ValuatorMask* val, - int ignored) + CARD32 ignored) { float mult = 0.0, tmpf; int dx = 0, dy = 0, tmpi; |