diff options
Diffstat (limited to '')
-rw-r--r-- | zcmp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |