summaryrefslogtreecommitdiff
path: root/src/Scrollbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Scrollbar.c')
-rw-r--r--src/Scrollbar.c2
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);
}