(case_GETOPT_VERSION_CHAR): Cast NULL to `(char *)' in

call to variadic version_etc function, so that it works even on systems
for which sizeof char* != sizeof int.
This commit is contained in:
Jim Meyering committed 2003-11-05 03:43:22 +00:00
1 parent b05cf2dee5
commit 6e2c46ce47
1 file changed
+2 -1
+2 -1
View File
@@ -476,7 +476,8 @@ enum
#define case_GETOPT_VERSION_CHAR(Program_name, Authors) \
case GETOPT_VERSION_CHAR: \
version_etc (stdout, Program_name, PACKAGE, VERSION, Authors, NULL);\
version_etc (stdout, Program_name, PACKAGE, VERSION, Authors, \
(char *) NULL); \
exit (EXIT_SUCCESS); \
break;