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 | d7b5315b0e0d2ebba292ccf0de92fd0e7a2123e8 (patch) | |
tree | 54bb85a6c68dbc1f44fd0860a84ce85425aa9f32 | |
parent | f4654147c09a44c6cec113d26e33c60c0813436d (diff) | |
download | gnulib-d7b5315b0e0d2ebba292ccf0de92fd0e7a2123e8.tar.gz |
(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 3ca5c97654..4c19630e66 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)) |