From d21eb47a60797758691545d4de9493e3b1ad4883 Mon Sep 17 00:00:00 2001 From: sachiel Date: Wed, 7 Apr 2010 22:09:26 +0000 Subject: [PATCH] 'tis an array of pointers, not just a string git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@47824 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore/ecore_getopt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore/ecore_getopt.c b/src/lib/ecore/ecore_getopt.c index 8a6f672..af18922 100644 --- a/src/lib/ecore/ecore_getopt.c +++ b/src/lib/ecore/ecore_getopt.c @@ -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; -- 2.7.4