COMP: fix warning

This commit is contained in:
Ken Martin 2005-03-19 09:05:17 -05:00
parent 8838e720d8
commit eb1764b34f
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ void cmGlobalGenerator::Configure()
// update the cache entry for the number of local generators, this is used
// for progress
char num[100];
sprintf(num,"%d",m_LocalGenerators.size());
sprintf(num,"%d",static_cast<int>(m_LocalGenerators.size()));
this->GetCMakeInstance()->AddCacheEntry
("CMAKE_NUMBER_OF_LOCAL_GENERATORS", num,
"number of local generators",