From ea23115af449e086ba05c9757ad22108944f6ec2 Mon Sep 17 00:00:00 2001 From: Bert Date: Sun, 29 May 2011 11:45:58 +0200 Subject: Use getline instead of readline --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options.c') 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; -- cgit v1.2.3-54-g00ecf