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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/args.c b/src/xz/args.c
index 7c327a5e..b0d63d69 100644
--- a/src/xz/args.c
+++ b/src/xz/args.c
@@ -490,7 +490,7 @@ parse_real(args_info *args, int argc, char **argv)
"or `--files0'."));
if (optarg == NULL) {
- args->files_name = (char *)stdin_filename;
+ args->files_name = stdin_filename;
args->files_file = stdin;
} else {
args->files_name = optarg;