diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-10-18 13:42:35 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-10-18 13:42:35 (GMT) |
commit | 2a9d2ed412e5d8a821b5b6debd86cd3ec9c1e6fe (patch) | |
tree | 1bf7e7c88a7b17e5b1fcee487bd59cb84c10e48a | |
parent | 314641a40736dafdc06346dc4840763618883e63 (diff) | |
download | CMake-2a9d2ed412e5d8a821b5b6debd86cd3ec9c1e6fe.zip CMake-2a9d2ed412e5d8a821b5b6debd86cd3ec9c1e6fe.tar.gz CMake-2a9d2ed412e5d8a821b5b6debd86cd3ec9c1e6fe.tar.bz2 |
COMP: Remove warning
-rw-r--r-- | Source/cmStringCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx index d0063c8..eacbfed 100644 --- a/Source/cmStringCommand.cxx +++ b/Source/cmStringCommand.cxx @@ -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; |