diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-21 16:23:58 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-21 16:23:58 +0000 |
commit | f67e09c7fd8c55ff1eef3ca6390e4f6070b2e121 (patch) | |
tree | 996850a70a6a45452b61c4c8ec493ea849222da7 /bignum.c | |
parent | e1ca988a0aa01f06248dd09cd9d46cc7ea4827e0 (diff) | |
download | ruby-f67e09c7fd8c55ff1eef3ca6390e4f6070b2e121.tar.gz |
* bignum.c (bary_mul_precheck): fix a copy-paste error.
Coverity Scan found this bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2363,7 +2363,7 @@ bary_mul_precheck(BDIGIT **zdsp, size_t *znp, const BDIGIT **xdsp, size_t *xnp, } else { do { - if (xds[0] != 0) + if (yds[0] != 0) break; yds++; yn--; |