summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-11-05 03:53:19 +0000
committerJim Meyering <jim@meyering.net>2003-11-05 03:53:19 +0000
commitdf81ab2911ce995fb9e116550b7a6798b497e391 (patch)
treea06a694cbc752f15f41cbf536ca20f3642e87d48 /src/test.c
parent25e8fe41722d25c4459946dc9aa8744bef705685 (diff)
downloadcoreutils-df81ab2911ce995fb9e116550b7a6798b497e391.tar.xz
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/test.c')
-rw-r--r--src/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.c b/src/test.c
index 24d347e64..9cd691acf 100644
--- a/src/test.c
+++ b/src/test.c
@@ -1101,7 +1101,7 @@ main (int margc, char **margv)
if (margc < 2 || strcmp (margv[margc - 1], "]") != 0)
{
parse_long_options (margc, margv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- usage, AUTHORS, NULL);
+ usage, AUTHORS, (char const *) NULL);
test_syntax_error (_("missing `]'\n"), NULL);
}