Module: wine Branch: master Commit: bb9c9264c85fcb4a0309fde72d9ba3b99704cb76 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bb9c9264c85fcb4a0309fde72d...
Author: Marcin Baczyński marbacz@gmail.com Date: Wed Jan 6 23:38:33 2010 +0100
libport: Remove superfluous void* cast.
---
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