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:
451b5fc
)
Cast the return from alloca to work better on UNICOS.
author
David Dykstra
<dwd@samba.org>
Sat, 11 Jan 2003 19:01:31 +0000
(19:01 +0000)
committer
David Dykstra
<dwd@samba.org>
Sat, 11 Jan 2003 19:01:31 +0000
(19:01 +0000)
popt/poptconfig.c
patch
|
blob
|
blame
|
history
diff --git
a/popt/poptconfig.c
b/popt/poptconfig.c
index
58ccf01
..
d6603e5
100644
(file)
--- 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));