COMP: fix compiler warnings

This commit is contained in:
Ken Martin 2005-06-23 12:34:19 -04:00
parent 0e18526103
commit 5c68b61a9c
1 changed files with 1 additions and 2 deletions

View File

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