projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f465414
)
(make_path): Explicitly cast alloca return value to (char *).
author
Jim Meyering
<jim@meyering.net>
Sun, 4 Apr 1993 21:52:09 +0000
(21:52 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 4 Apr 1993 21:52:09 +0000
(21:52 +0000)
lib/makepath.c
patch
|
blob
|
history
diff --git
a/lib/makepath.c
b/lib/makepath.c
index 3ca5c97654ac29e5073bf359afbff2abef36c223..4c19630e661a782ab1f520338e05a4ffee3aefed 100644
(file)
--- a/
lib/makepath.c
+++ b/
lib/makepath.c
@@
-95,7
+95,7
@@
make_path (argpath, mode, parent_mode, owner, group, verbose_fmt_string)
int retval = 0;
int oldmask = umask (0);
- dirpath = alloca (strlen (argpath) + 1);
+ dirpath =
(char *)
alloca (strlen (argpath) + 1);
strcpy (dirpath, argpath);
if (stat (dirpath, &stats))