mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 09:29:51 +02:00
more ANSI/ISO C cleanups
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ strvec_from_word_list (WORD_LIST *list, int alloc, int starting_index, int *ip)
|
||||
int count;
|
||||
char **array;
|
||||
|
||||
count = list_length (list);
|
||||
count = list_length ((GENERIC_LIST *)list);
|
||||
array = (char **)xmalloc ((1 + count + starting_index) * sizeof (char *));
|
||||
|
||||
for (count = 0; count < starting_index; count++)
|
||||
|
||||
Reference in New Issue
Block a user