summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-03-19 14:05:17 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-03-19 14:05:17 (GMT)
commiteb1764b34ff307c1409888d442d982a76ea86de8 (patch)
tree847f3497eee08fdc46137ecf882c3d37eddd6c43
parent8838e720d8a95b2f22b3d461627ee0cd32c9435a (diff)
downloadCMake-eb1764b34ff307c1409888d442d982a76ea86de8.zip
CMake-eb1764b34ff307c1409888d442d982a76ea86de8.tar.gz
CMake-eb1764b34ff307c1409888d442d982a76ea86de8.tar.bz2
COMP: fix warning
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 8984831..1382e88 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -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",