From 7fd6427bc3016e9666a587386779952cf8979f09 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 29 Feb 2012 14:26:06 -0500 Subject: Fix parameters of FloatInRange Introduced in f6cd786d1. Reported-by: Jean-Pierre Demailly Signed-off-by: Matt Turner --- src/Scrollbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Scrollbar.c b/src/Scrollbar.c index be74ed3..5667327 100644 --- a/src/Scrollbar.c +++ b/src/Scrollbar.c @@ -865,7 +865,7 @@ InRange(int num, int small, int big) */ static float -FloatInRange(int num, int small, int big) +FloatInRange(float num, float small, float big) { return (num < small) ? small : ((num > big) ? big : num); } -- cgit v1.2.3