diff options
author | Brad King <brad.king@kitware.com> | 2003-05-14 12:40:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-05-14 12:40:16 (GMT) |
commit | cbef9d224df3ac6e54ecb6988c576db80505c71e (patch) | |
tree | 36992ab7c5e43c7ddd532f7dd43c084bba10693e /Source | |
parent | ce0f0838e19f5fcd77c424e883910836f8cfdd2e (diff) | |
download | CMake-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.cxx | 3 |
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; |