diff options
author | David Dykstra <dwd@samba.org> | 2003-01-11 14:39:41 +0000 |
---|---|---|
committer | David Dykstra <dwd@samba.org> | 2003-01-11 14:39:41 +0000 |
commit | 451b5fc969100e9866f74dac71e9b6bda5af5324 (patch) | |
tree | 31ddf9e9fb8aefce82a3aaf342144c990979cc7d /popt | |
parent | 1e678fcab161730cfbd92b5760bd7df285ef31cc (diff) | |
download | android_external_rsync-451b5fc969100e9866f74dac71e9b6bda5af5324.tar.gz android_external_rsync-451b5fc969100e9866f74dac71e9b6bda5af5324.tar.bz2 android_external_rsync-451b5fc969100e9866f74dac71e9b6bda5af5324.zip |
Cast the return of alloca to remove a fatal error on Cray UNICOS.
Diffstat (limited to 'popt')
-rw-r--r-- | popt/popt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/popt/popt.c b/popt/popt.c index 962f9732..c6672b7a 100644 --- a/popt/popt.c +++ b/popt/popt.c @@ -1054,7 +1054,7 @@ poptContext poptFreeContext(poptContext con) int poptAddAlias(poptContext con, struct poptAlias alias, /*@unused@*/ int flags) { - poptItem item = alloca(sizeof(*item)); + poptItem item = (poptItem) alloca(sizeof(*item)); memset(item, 0, sizeof(*item)); item->option.longName = alias.longName; item->option.shortName = alias.shortName; |