summaryrefslogtreecommitdiffstats
path: root/programs/bench.c
diff options
context:
space:
mode:
authorChocobo1 <Chocobo1@users.noreply.github.com>2017-01-12 16:43:25 (GMT)
committerChocobo1 <Chocobo1@users.noreply.github.com>2017-01-12 16:43:25 (GMT)
commitdb6f733ecc99f5bd08e9e2b1348387d7144d0424 (patch)
tree2cb7fb2847bda9fd8d06fef3ffab53061abc1a78 /programs/bench.c
parent44f95e92ea74d4ee9d56d9d1c524c0a0c9b904d5 (diff)
downloadlz4-db6f733ecc99f5bd08e9e2b1348387d7144d0424.zip
lz4-db6f733ecc99f5bd08e9e2b1348387d7144d0424.tar.gz
lz4-db6f733ecc99f5bd08e9e2b1348387d7144d0424.tar.bz2
Use logical or instead of bitwise or
Diffstat (limited to 'programs/bench.c')
-rw-r--r--programs/bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/bench.c b/programs/bench.c
index 8311503..8625802 100644
--- a/programs/bench.c
+++ b/programs/bench.c
@@ -231,7 +231,7 @@ static int BMK_benchMem(const void* srcBuffer, size_t srcSize,
UTIL_getTime(&coolTime);
DISPLAYLEVEL(2, "\r%79s\r", "");
- while (!cCompleted | !dCompleted) {
+ while (!cCompleted || !dCompleted) {
UTIL_time_t clockStart;
U64 clockLoop = g_nbSeconds ? TIMELOOP_MICROSEC : 1;