summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-05-14 12:40:16 (GMT)
committerBrad King <brad.king@kitware.com>2003-05-14 12:40:16 (GMT)
commitcbef9d224df3ac6e54ecb6988c576db80505c71e (patch)
tree36992ab7c5e43c7ddd532f7dd43c084bba10693e /Source
parentce0f0838e19f5fcd77c424e883910836f8cfdd2e (diff)
downloadCMake-cbef9d224df3ac6e54ecb6988c576db80505c71e.zip
CMake-cbef9d224df3ac6e54ecb6988c576db80505c71e.tar.gz
CMake-cbef9d224df3ac6e54ecb6988c576db80505c71e.tar.bz2
ERR: Fixed string literal->char* conversion warning.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmake.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 86c6f9d..22e3f58 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;