changeset 50:63cf200b3839

(make_path): Explicitly cast alloca return value to (char *).
author Jim Meyering <jim@meyering.net>
date Sun, 04 Apr 1993 21:52:09 +0000
parents 1cdf94788f9b
children 746d773c6fcf
files lib/makepath.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/makepath.c	Sun Apr 04 16:36:44 1993 +0000
+++ b/lib/makepath.c	Sun Apr 04 21:52:09 1993 +0000
@@ -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))