From 5ffe06bada85e98d46a071dad578d72f5b96cb51 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 20 Apr 2011 15:26:11 +1000 Subject: dix: Don't use short as bool Signed-off-by: Peter Hutterer Reviewed-by: Daniel Stone Reviewed-by: Jamey Sharp Reviewed-by: Simon Thum --- dix/ptrveloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3