mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-20 18:56:39 +02:00
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.
This commit is contained in:
@@ -65,7 +65,7 @@ main (int argc, char **argv)
|
||||
atexit (close_stdout);
|
||||
|
||||
parse_long_options (argc, argv, PROGRAM_NAME, PACKAGE, VERSION,
|
||||
usage, AUTHORS, NULL);
|
||||
usage, AUTHORS, (char const *) NULL);
|
||||
|
||||
if (1 < argc)
|
||||
error (0, 0, _("ignoring all arguments"));
|
||||
|
||||
Reference in New Issue
Block a user