From 01a414eaf4be6352c06b48001b041b47e8202faa Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Thu, 27 May 2010 02:31:33 -0500 Subject: [PATCH] Use my_min() instead of MIN() in src/xz/list.c This should have been done in 920a69a8d8e4203c5edddd829d932130eac188ea. --- src/xz/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xz/list.c b/src/xz/list.c index 91707b91..3de838cd 100644 --- a/src/xz/list.c +++ b/src/xz/list.c @@ -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;