ERR: Fixed string literal->char* conversion warning.

This commit is contained in:
Brad King 2003-05-14 08:40:16 -04:00
parent ce0f0838e1
commit cbef9d224d
1 changed files with 2 additions and 1 deletions

View File

@ -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;