diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-05-26 10:36:46 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-05-26 10:36:46 +0300 |
commit | 920a69a8d8e4203c5edddd829d932130eac188ea (patch) | |
tree | e1478b0896e839202014fe63b97876740d7f9f5f /src/liblzma/common/block_buffer_encoder.c | |
parent | Fix compilation of debug/known_sizes.c. (diff) | |
download | xz-920a69a8d8e4203c5edddd829d932130eac188ea.tar.xz |
Rename MIN() and MAX() to my_min() and my_max().
This should avoid some minor portability issues.
Diffstat (limited to 'src/liblzma/common/block_buffer_encoder.c')
-rw-r--r-- | src/liblzma/common/block_buffer_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/block_buffer_encoder.c b/src/liblzma/common/block_buffer_encoder.c index 4d90feef..a8f71c21 100644 --- a/src/liblzma/common/block_buffer_encoder.c +++ b/src/liblzma/common/block_buffer_encoder.c @@ -139,7 +139,7 @@ block_encode_uncompressed(lzma_block *block, const uint8_t *in, size_t in_size, // Size of the uncompressed chunk const size_t copy_size - = MIN(in_size - in_pos, LZMA2_CHUNK_MAX); + = my_min(in_size - in_pos, LZMA2_CHUNK_MAX); out[(*out_pos)++] = (copy_size - 1) >> 8; out[(*out_pos)++] = (copy_size - 1) & 0xFF; |