aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index b2b3a14..7bc92b8 100644
--- a/options.c
+++ b/options.c
@@ -124,7 +124,7 @@ void parse_options(int argc, char **argv) {
}
}
- _options.filenames = (const char**) argv + optind;
+ _options.filenames = argv + optind;
_options.filecnt = argc - optind;
_options.from_stdin = _options.filecnt == 1 &&
strcmp(_options.filenames[0], "-") == 0;