1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Use my_min() instead of MIN() in src/xz/list.c

This should have been done in
920a69a8d8.
This commit is contained in:
Jonathan Nieder 2010-05-27 02:31:33 -05:00 committed by Lasse Collin
parent 920a69a8d8
commit 01a414eaf4

View file

@ -156,7 +156,7 @@ parse_indexes(lzma_index **idx, file_pair *pair)
do { do {
// Don't give the decoder more input than the // Don't give the decoder more input than the
// Index size. // 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)) if (io_pread(pair, &buf, strm.avail_in, pos))
goto error; goto error;