diff options
author | Ken Martin <ken.martin@kitware.com> | 2003-01-10 16:07:29 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2003-01-10 16:07:29 (GMT) |
commit | 6772b9f90b73b29472ba0be8bf550611663d0bf9 (patch) | |
tree | fc85b9318b2f790bb4552a6b933809b252126e8b /Source/cmGlobalGenerator.cxx | |
parent | aea238e0e3b3fe0ea003624603d6d2f9a23a48ab (diff) | |
download | CMake-6772b9f90b73b29472ba0be8bf550611663d0bf9.zip CMake-6772b9f90b73b29472ba0be8bf550611663d0bf9.tar.gz CMake-6772b9f90b73b29472ba0be8bf550611663d0bf9.tar.bz2 |
fix warnings
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 56b21da..edbed80 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -119,7 +119,7 @@ void cmGlobalGenerator::EnableLanguage(const char* lang, static char envCC[5000]; std::string env = "CC=${CMAKE_C_COMPILER}"; mf->ExpandVariablesInString(env); - unsigned int size = env.size(); + unsigned int size = static_cast<unsigned int>(env.size()); if(size > 4999) { size = 4999; @@ -148,7 +148,7 @@ void cmGlobalGenerator::EnableLanguage(const char* lang, { std::string env = "CXX=${CMAKE_CXX_COMPILER}"; mf->ExpandVariablesInString(env); - unsigned int size = env.size(); + unsigned int size = static_cast<unsigned int>(env.size()); if(size > 4999) { size = 4999; |