diff options
Diffstat (limited to 'programs')
-rw-r--r-- | programs/bench.c | 2 | ||||
-rw-r--r-- | programs/lz4cli.c | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/programs/lz4cli.c b/programs/lz4cli.c index cf91a99..0578bde 100644 --- a/programs/lz4cli.c +++ b/programs/lz4cli.c @@ -510,7 +510,7 @@ int main(int argc, const char** argv) #ifdef _FILE_OFFSET_BITS DISPLAYLEVEL(4, "_FILE_OFFSET_BITS defined: %ldL\n", (long) _FILE_OFFSET_BITS); #endif - if ((mode == om_compress) || (mode == om_bench)) DISPLAYLEVEL(4, "Blocks size : %i KB\n", (U32)(blockSize>>10)); + if ((mode == om_compress) || (mode == om_bench)) DISPLAYLEVEL(4, "Blocks size : %u KB\n", (U32)(blockSize>>10)); if (multiple_inputs) { input_filename = inFileNames[0]; |