aboutsummaryrefslogtreecommitdiffstats
path: root/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'math.c')
-rw-r--r--math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math.c b/math.c
index 78cba5ab0c..a09d605911 100644
--- a/math.c
+++ b/math.c
@@ -456,7 +456,7 @@ static double math_log1(VALUE x);
*/
static VALUE
-math_log(int argc, VALUE *argv, VALUE obj)
+math_log(int argc, const VALUE *argv, VALUE obj)
{
VALUE x, base;
double d;
@@ -918,7 +918,7 @@ exp1(exp)
exp2(hypot)
VALUE
-rb_math_log(int argc, VALUE *argv)
+rb_math_log(int argc, const VALUE *argv)
{
return math_log(argc, argv, rb_mMath);
}