Use logical or instead of bitwise or
authorChocobo1 <Chocobo1@users.noreply.github.com>
Thu, 12 Jan 2017 16:43:25 +0000 (00:43 +0800)
committerChocobo1 <Chocobo1@users.noreply.github.com>
Thu, 12 Jan 2017 16:43:25 +0000 (00:43 +0800)
programs/bench.c

index 8311503..8625802 100644 (file)
@@ -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;