[PATCH] libport: remove superfluous void* cast
Marcin Baczyński
marbacz at gmail.com
Wed Jan 6 16:38:33 CST 2010
---
libs/port/getopt.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libs/port/getopt.c b/libs/port/getopt.c
index 041bef0..eeb64a6 100644
--- a/libs/port/getopt.c
+++ b/libs/port/getopt.c
@@ -441,8 +441,7 @@ _getopt_initialize (argc, argv, optstring)
int len = nonoption_flags_max_len = strlen (orig_str);
if (nonoption_flags_max_len < argc)
nonoption_flags_max_len = argc;
- __getopt_nonoption_flags =
- (char *) malloc (nonoption_flags_max_len);
+ __getopt_nonoption_flags = malloc (nonoption_flags_max_len);
if (__getopt_nonoption_flags == NULL)
nonoption_flags_max_len = -1;
else
--
1.6.6
More information about the wine-patches
mailing list