From cbef9d224df3ac6e54ecb6988c576db80505c71e Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 14 May 2003 08:40:16 -0400 Subject: [PATCH] ERR: Fixed string literal->char* conversion warning. --- Source/cmake.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 86c6f9da6..22e3f58df 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -80,7 +80,8 @@ cmake::cmake() // encode the MAKEFLAGS variable in a strange way. if(getenv("MAKEFLAGS")) { - putenv("MAKEFLAGS="); + static char makeflags[] = "MAKEFLAGS="; + putenv(makeflags); } m_Local = false;