aboutsummaryrefslogtreecommitdiff
path: root/src/xz/args.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-12-08 19:24:22 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-12-08 19:24:22 +0200
commit01b3549e523edac899ec4925b282ceddd20da116 (patch)
treee68c33cbba960ff1fbd1a188e90add06836151e2 /src/xz/args.c
parentxz: Don't modify argv[]. (diff)
downloadxz-01b3549e523edac899ec4925b282ceddd20da116.tar.xz
xz: Make args_info.files_name a const pointer.
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 3d09bd64..dff35f93 100644
--- a/src/xz/args.c
+++ b/src/xz/args.c
@@ -520,7 +520,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;