diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-06-23 16:34:19 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-06-23 16:34:19 (GMT) |
commit | 5c68b61a9caab3f89031155d129b9498d840e502 (patch) | |
tree | 571de884a7006d6f6608b0fbfcea4b36e422ea81 /Source/cmMacroCommand.cxx | |
parent | 0e185261039b6784e1566256214ed01e5ecbcd29 (diff) | |
download | CMake-5c68b61a9caab3f89031155d129b9498d840e502.zip CMake-5c68b61a9caab3f89031155d129b9498d840e502.tar.gz CMake-5c68b61a9caab3f89031155d129b9498d840e502.tar.bz2 |
COMP: fix compiler warnings
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r-- | Source/cmMacroCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx index 3545ded..49708ea 100644 --- a/Source/cmMacroCommand.cxx +++ b/Source/cmMacroCommand.cxx @@ -112,7 +112,6 @@ bool cmMacroHelperCommand::InvokeInitialPass // declare varuiables for ARGV ARGN but do not compute until needed std::string argvDef; std::string argnDef; - bool argvDefInitialized = false; // save the current definitions of all vars that we will be setting std::string oldARGC; @@ -143,7 +142,7 @@ bool cmMacroHelperCommand::InvokeInitialPass } argvDef += *eit; oldARGVArgs.push_back(std::string()); - sprintf(argvName,"ARGV%i",cnt); + sprintf(argvName,"ARGV%i",static_cast<int>(cnt)); if (m_Makefile->GetDefinition(argvName)) { oldARGVArgs[cnt] = m_Makefile->GetDefinition(argvName); |