aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-03 23:35:18 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-03 23:35:18 +0100
commit7f11735aac03f77c2f911aa57ea490f566f91b09 (patch)
tree0fadd84c1cff887792815990d460ee6158fc0566
parentm (diff)
downloadsha3sum-7f11735aac03f77c2f911aa57ea490f566f91b09.tar.gz
sha3sum-7f11735aac03f77c2f911aa57ea490f566f91b09.tar.bz2
sha3sum-7f11735aac03f77c2f911aa57ea490f566f91b09.tar.xz
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--c/sha3sum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/sha3sum.c b/c/sha3sum.c
index e44fc51..8b32755 100644
--- a/c/sha3sum.c
+++ b/c/sha3sum.c
@@ -475,13 +475,13 @@ int main(int argc, char** argv)
}
}
- if ((_R & _C & _O) == null) /* s? */
+ if ((_R | _C | _O) == null) /* s? */
{
s = _S ? s : _s;
c = -((r = (o = (((s << 5) / 100 + 7) >> 3) << 3) << 1) - s);
o = o < 8 ? 8 : o;
}
- else if ((_R & _C) == null) /* !o s? */
+ else if ((_R | _C) == null) /* !o s? */
{
r = _r;
c = _c;