summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-04-20 15:26:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-04-21 14:20:11 +1000
commit5ffe06bada85e98d46a071dad578d72f5b96cb51 (patch)
tree0fb55aac30013ca4cfef3657ed600538b5187ede
parent97c1967689d7990be86ee490690ac5a91935c875 (diff)
dix: Don't use short as bool
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Simon Thum <simon.thum@gmx.de>
-rw-r--r--dix/ptrveloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
index 104d1fe58..a73bef8f8 100644
--- a/dix/ptrveloc.c
+++ b/dix/ptrveloc.c
@@ -714,7 +714,7 @@ ApplySofteningAndConstantDeceleration(
int dy,
float* fdx,
float* fdy,
- short do_soften)
+ BOOL do_soften)
{
if (do_soften && vel->use_softening) {
*fdx = ApplySimpleSoftening(vel->last_dx, dx);