Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e678fc
)
Cast the return of alloca to remove a fatal error on Cray UNICOS.
author
David Dykstra
<dwd@samba.org>
Sat, 11 Jan 2003 14:39:41 +0000
(14:39 +0000)
committer
David Dykstra
<dwd@samba.org>
Sat, 11 Jan 2003 14:39:41 +0000
(14:39 +0000)
popt/popt.c
patch
|
blob
|
blame
|
history
diff --git
a/popt/popt.c
b/popt/popt.c
index
962f973
..
c6672b7
100644
(file)
--- 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;