summaryrefslogtreecommitdiffstats
path: root/zcmp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'zcmp.cc')
-rw-r--r--zcmp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zcmp.cc b/zcmp.cc
index 48731a3..8f362c3 100644
--- a/zcmp.cc
+++ b/zcmp.cc
@@ -223,7 +223,7 @@ int cmp( const long long max_size, const int infd[2],
unsigned long long byte_number = 1;
unsigned long long line_number = 1;
// remaining number of bytes to compare
- long long rest = ( ( max_size >= 0 ) ? max_size : buffer_size );
+ long long rest = ( max_size >= 0 ) ? max_size : buffer_size;
// buffers with space for sentinels at the end
uint8_t * const buffer0 = new uint8_t[2*(buffer_size+1)];
uint8_t * const buffer1 = buffer0 + buffer_size + 1;