diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-22 04:56:37 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-22 04:56:37 +0000 |
commit | 042fe1ea912903ce34feca4c24e6231135748259 (patch) | |
tree | 1f4cdc53aed36eb2a18e980ed23de046fa90d1db /bignum.c | |
parent | ff0e82ed9db1e8ed1f95b5329bf3fd7bd778f828 (diff) | |
download | ruby-042fe1ea912903ce34feca4c24e6231135748259.tar.gz |
* bignum.c (bary_pack): MEMZERO can be used even if nails is not zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -919,7 +919,7 @@ bary_pack(int sign, BDIGIT *ds, size_t num_bdigits, void *words, size_t numwords sign = 0; } - if (nails == 0 && sign == 0) { + if (sign == 0) { MEMZERO(words, unsigned char, numwords * wordsize); return 0; } |