COMP: Remove warning

This commit is contained in:
Andy Cedilnik 2005-10-18 09:42:35 -04:00
parent 314641a407
commit 2a9d2ed412
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ bool cmStringCommand::HandleLengthCommand(std::vector<std::string> const& args)
size_t length = stringValue.size();
char buffer[1024];
sprintf(buffer, "%d", length);
sprintf(buffer, "%d", static_cast<int>(length));
m_Makefile->AddDefinition(variableName.c_str(), buffer);
return true;