ruby-changes:45639
From: nobu <ko1@a...>
Date: Sat, 25 Feb 2017 13:13:47 +0900 (JST)
Subject: [ruby-changes:45639] nobu:r57712 (trunk): bignum.c (bary_zero_p): constify
nobu 2017-02-25 13:13:42 +0900 (Sat, 25 Feb 2017) New Revision: 57712 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57712 Log: bignum.c (bary_zero_p): constify Modified files: trunk/bignum.c Index: bignum.c =================================================================== --- bignum.c (revision 57711) +++ bignum.c (revision 57712) @@ -432,7 +432,7 @@ bary_small_rshift(BDIGIT *zds, const BDI https://github.com/ruby/ruby/blob/trunk/bignum.c#L432 } static int -bary_zero_p(BDIGIT *xds, size_t xn) +bary_zero_p(const BDIGIT *xds, size_t xn) { if (xn == 0) return 1; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/