diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-26 02:02:09 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-26 02:02:09 +0000 |
commit | 226b91598a6aa0f226b23624dce0b3c5a7de567d (patch) | |
tree | 310106e5d373af123515c69c414e8ce197d9c1de | |
parent | 1d782010b519754d8e6ee476c0603534953c9dfb (diff) | |
download | ruby-226b91598a6aa0f226b23624dce0b3c5a7de567d.tar.gz |
yet another -Wparentheses tweak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1342,7 +1342,7 @@ mult(Bigint *a, Bigint *b) #else #ifdef Pack_32 for (; xb < xbe; xb++, xc0++) { - if (y = *xb & 0xffff) { + if ((y = *xb & 0xffff) != 0) { x = xa; xc = xc0; carry = 0; @@ -1355,7 +1355,7 @@ mult(Bigint *a, Bigint *b) } while (x < xae); *xc = (ULong)carry; } - if (y = *xb >> 16) { + if ((y = *xb >> 16) != 0) { x = xa; xc = xc0; carry = 0; |