From: Jim Meyering Date: Sun, 4 Apr 1993 21:52:09 +0000 (+0000) Subject: (make_path): Explicitly cast alloca return value to (char *). X-Git-Tag: FILEUTILS-3_8_3b~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ff4e5a7001502408c54faf9728850a4e382593c;p=thirdparty%2Fcoreutils.git (make_path): Explicitly cast alloca return value to (char *). --- 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))