# HG changeset patch # User Jim Meyering # Date 733960329 0 # Node ID 63cf200b38399114652a9b36dfd57ee17f66c817 # Parent 1cdf94788f9bc2112dd9165b1b4888203abf959c (make_path): Explicitly cast alloca return value to (char *). diff --git a/lib/makepath.c b/lib/makepath.c --- a/lib/makepath.c +++ b/lib/makepath.c @@ -95,7 +95,7 @@ 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))