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:
parent
982a448ead
commit
dab7aa22f7
1 changed files with 1 additions and 1 deletions
2
bignum.c
2
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue