From bb9c9264c85fcb4a0309fde72d9ba3b99704cb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Baczy=C5=84ski?= Date: Wed, 6 Jan 2010 23:38:33 +0100 Subject: [PATCH] libport: Remove superfluous void* cast. --- libs/port/getopt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/port/getopt.c b/libs/port/getopt.c index 041bef08c3f..eeb64a6e7d8 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