From b17f1d76c0e84a2cf175066345437bd3f6990c69 Mon Sep 17 00:00:00 2001 From: David Dykstra Date: Sat, 11 Jan 2003 19:01:31 +0000 Subject: [PATCH] Cast the return from alloca to work better on UNICOS. --- popt/poptconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popt/poptconfig.c b/popt/poptconfig.c index 58ccf015..d6603e52 100644 --- a/popt/poptconfig.c +++ b/popt/poptconfig.c @@ -18,7 +18,7 @@ static void configLine(poptContext con, char * line) /*@=type@*/ const char * entryType; const char * opt; - poptItem item = alloca(sizeof(*item)); + poptItem item = (poptItem) alloca(sizeof(*item)); int i, j; memset(item, 0, sizeof(*item)); -- 2.34.1