'tis an array of pointers, not just a string

SVN revision: 47824
This commit is contained in:
Iván Briano 2010-04-07 22:09:26 +00:00
parent e01b2c7a5c
commit d6f36ae575
1 changed files with 2 additions and 2 deletions

View File

@ -687,10 +687,10 @@ _ecore_getopt_parse_find_short(const Ecore_Getopt *parser, char name)
static int
_ecore_getopt_parse_find_nonargs_base(const Ecore_Getopt *parser, int argc, char **argv)
{
char *nonargs;
char **nonargs;
int src, dst, used, base;
nonargs = alloca(sizeof(char) * argc);
nonargs = alloca(sizeof(char*) * argc);
src = 1;
dst = 1;
used = 0;