diff src/process-nt.c @ 400:a86b2b5e0111 r21-2-30

Import from CVS: tag r21-2-30
author cvs
date Mon, 13 Aug 2007 11:14:34 +0200
parents 74fd4e045ea6
children 2f8bb876ab1d
line wrap: on
line diff
--- a/src/process-nt.c	Mon Aug 13 11:13:33 2007 +0200
+++ b/src/process-nt.c	Mon Aug 13 11:14:34 2007 +0200
@@ -581,7 +581,7 @@
     new_space++;
     
     /* Allocate space and copy variables into it */
-    penv = proc_env = alloca(new_space);
+    penv = proc_env = (char*) alloca(new_space);
     for (i = 0; i < new_length; i++)
       {
  	strcpy(penv, env[i]);