diff options
author | Jim Meyering <jim@meyering.net> | 1993-04-04 21:52:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-04-04 21:52:09 +0000 |
commit | 7ff4e5a7001502408c54faf9728850a4e382593c (patch) | |
tree | 7faa73d4b3a74f9dd61faffbefe27e3895ef0c3a | |
parent | 0df7488562d561ff30aacfb82d48d5bff1cf5e20 (diff) | |
download | coreutils-7ff4e5a7001502408c54faf9728850a4e382593c.tar.xz |
(make_path): Explicitly cast alloca return value to (char *).
-rw-r--r-- | lib/makepath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/makepath.c b/lib/makepath.c index 3ca5c9765..4c19630e6 100644 --- 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)) |