1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

bignum.c (bary_zero_p): constify

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-02-25 04:13:42 +00:00
parent 982a448ead
commit dab7aa22f7

View file

@ -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;