Cast results of `alloca' to `char *'.
authorRoland McGrath <roland@redhat.com>
Mon, 6 Feb 1995 22:37:36 +0000 (22:37 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 6 Feb 1995 22:37:36 +0000 (22:37 +0000)
main.c

diff --git a/main.c b/main.c
index 1a76f5afc9b213c948d4d0a0177283ceb11be021..10cfff8fc2b56d20ec36733bd0340a40421aef19 100644 (file)
--- a/main.c
+++ b/main.c
@@ -598,7 +598,7 @@ main (argc, argv, envp)
        }
 
       /* Now allocate a buffer big enough and fill it.  */
-      p = value = alloca (len);
+      p = value = (char *) alloca (len);
       for (cv = command_variables; cv != 0; cv = cv->next)
        {
          v = cv->variable;