From df81ab2911ce995fb9e116550b7a6798b497e391 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 5 Nov 2003 03:53:19 +0000 Subject: Cast NULL to `(char *)' in call to variadic function, parse_long_options, so that it works even on systems for which sizeof char* != sizeof int. --- src/dirname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dirname.c') diff --git a/src/dirname.c b/src/dirname.c index 9eee8221b..347623dbc 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -75,7 +75,7 @@ main (int argc, char **argv) atexit (close_stdout); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - usage, AUTHORS, NULL); + usage, AUTHORS, (char const *) NULL); /* The above handles --help and --version. Since there is no other invocation of getopt, handle `--' here. */ if (argc > 1 && STREQ (argv[1], "--")) -- cgit v1.2.3-54-g00ecf