summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorDavid Dykstra <dwd@samba.org>2003-01-11 19:01:31 +0000
committerDavid Dykstra <dwd@samba.org>2003-01-11 19:01:31 +0000
commitb17f1d76c0e84a2cf175066345437bd3f6990c69 (patch)
tree22a10e9e6494bf66b1ef6c61e2a43ac3ecefc92a /popt
parent451b5fc969100e9866f74dac71e9b6bda5af5324 (diff)
downloadrsync-b17f1d76c0e84a2cf175066345437bd3f6990c69.tar.gz
Cast the return from alloca to work better on UNICOS.
Diffstat (limited to 'popt')
-rw-r--r--popt/poptconfig.c2
1 files changed, 1 insertions, 1 deletions
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));