aboutsummaryrefslogtreecommitdiffstats
path: root/bignum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-25 04:13:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-25 04:13:42 +0000
commit09a697a15ed276f0d94a11eed2bab42efda1ae73 (patch)
tree77561667cffe2d251776d2217448bcacc84cd65e /bignum.c
parentc997cb7b8df72eeb83280cffe1009eb3a292367d (diff)
downloadruby-09a697a15ed276f0d94a11eed2bab42efda1ae73.tar.gz
bignum.c (bary_zero_p): constify
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 8e52023663..de24670da3 100644
--- a/bignum.c
+++ b/bignum.c
@@ -432,7 +432,7 @@ bary_small_rshift(BDIGIT *zds, const BDIGIT *xds, size_t n, int shift, BDIGIT hi
}
static int
-bary_zero_p(BDIGIT *xds, size_t xn)
+bary_zero_p(const BDIGIT *xds, size_t xn)
{
if (xn == 0)
return 1;