mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(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:
1 parent
b05cf2dee5
commit
6e2c46ce47
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user