(make_path): Explicitly cast alloca return value to (char *).
authorJim Meyering <jim@meyering.net>
Sun, 4 Apr 1993 21:52:09 +0000 (21:52 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 4 Apr 1993 21:52:09 +0000 (21:52 +0000)
lib/makepath.c

index 3ca5c97..4c19630 100644 (file)
@@ -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))