diff options
| author | Jim Meyering <jim@meyering.net> | 2003-11-05 03:53:19 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2003-11-05 03:53:19 +0000 |
| commit | df81ab2911ce995fb9e116550b7a6798b497e391 (patch) | |
| tree | a06a694cbc752f15f41cbf536ca20f3642e87d48 /src/factor.c | |
| parent | *** empty log message *** (diff) | |
| download | coreutils-df81ab2911ce995fb9e116550b7a6798b497e391.tar.gz coreutils-df81ab2911ce995fb9e116550b7a6798b497e391.zip | |
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.
Diffstat (limited to 'src/factor.c')
| -rw-r--r-- | src/factor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factor.c b/src/factor.c index 03be10609..f10582692 100644 --- a/src/factor.c +++ b/src/factor.c @@ -202,7 +202,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], "--")) |
