Introduced in f6cd786d1.
Reported-by: Jean-Pierre Demailly <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
---
src/Scrollbar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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);
}
--
1.7.3.4
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel