mirror of https://git.tukaani.org/xz.git
Use my_min() instead of MIN() in src/xz/list.c
This should have been done in
920a69a8d8
.
This commit is contained in:
parent
920a69a8d8
commit
01a414eaf4
|
@ -156,7 +156,7 @@ parse_indexes(lzma_index **idx, file_pair *pair)
|
|||
do {
|
||||
// Don't give the decoder more input than the
|
||||
// Index size.
|
||||
strm.avail_in = MIN(IO_BUFFER_SIZE, index_size);
|
||||
strm.avail_in = my_min(IO_BUFFER_SIZE, index_size);
|
||||
if (io_pread(pair, &buf, strm.avail_in, pos))
|
||||
goto error;
|
||||
|
||||
|
|
Loading…
Reference in New Issue