aboutsummaryrefslogtreecommitdiff
path: root/src/xz/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xz/args.c')
-rw-r--r--src/xz/args.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xz/args.c b/src/xz/args.c
index fdd63b44..7b12529c 100644
--- a/src/xz/args.c
+++ b/src/xz/args.c
@@ -406,7 +406,8 @@ parse_environment(args_info *args, char *argv0)
// Keep argc small enough to fit into a singed int
// and to keep it usable for memory allocation.
- if (++argc == MIN(INT_MAX, SIZE_MAX / sizeof(char *)))
+ if (++argc == my_min(
+ INT_MAX, SIZE_MAX / sizeof(char *)))
message_fatal(_("The environment variable "
"XZ_OPT contains too many "
"arguments"));