summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-11-05 03:43:30 +0000
committerJim Meyering <jim@meyering.net>2003-11-05 03:43:30 +0000
commite809d156e95e7dda30dbddc80fabd623e783641a (patch)
treebd97cb4aa243c18836a05b5b7777f929e388f422 /src
parent6e2c46ce4797dfc5c8f86371b1ad68dc7acfebbd (diff)
downloadcoreutils-e809d156e95e7dda30dbddc80fabd623e783641a.tar.xz
(main): Cast NULL to `(char *)' in
call to variadic version_etc function, so that it works even on systems for which sizeof char* != sizeof int.
Diffstat (limited to 'src')
-rw-r--r--src/true.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/true.c b/src/true.c
index c92700e03..e4508cbf1 100644
--- a/src/true.c
+++ b/src/true.c
@@ -63,7 +63,8 @@ main (int argc, char **argv)
usage (EXIT_SUCCESS);
if (STREQ (argv[1], "--version"))
- version_etc (stdout, PROGRAM_NAME, GNU_PACKAGE, VERSION, AUTHORS, NULL);
+ version_etc (stdout, PROGRAM_NAME, GNU_PACKAGE, VERSION, AUTHORS,
+ (char *) NULL);
}
exit (EXIT_SUCCESS);