diff options
author | David Cole <david.cole@kitware.com> | 2009-10-01 20:47:08 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-10-01 20:47:08 (GMT) |
commit | 44bcba746156ad1d5fe7f784380c3fb4f4672f6b (patch) | |
tree | 34028a688c7649519a6a1086949f859d75a1a63f /Source/cmScriptGenerator.cxx | |
parent | 86459a89a10733bad549c34a4c4c0ca962397bc6 (diff) | |
download | CMake-44bcba746156ad1d5fe7f784380c3fb4f4672f6b.zip CMake-44bcba746156ad1d5fe7f784380c3fb4f4672f6b.tar.gz CMake-44bcba746156ad1d5fe7f784380c3fb4f4672f6b.tar.bz2 |
Fix warnings in CMake source code. Suppress rampant warnings emanating from Qt files.
Diffstat (limited to 'Source/cmScriptGenerator.cxx')
-rw-r--r-- | Source/cmScriptGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmScriptGenerator.cxx b/Source/cmScriptGenerator.cxx index 20246d7..86ecebe 100644 --- a/Source/cmScriptGenerator.cxx +++ b/Source/cmScriptGenerator.cxx @@ -53,7 +53,7 @@ static void cmScriptGeneratorEncodeConfig(const char* config, if(*c >= 'a' && *c <= 'z') { result += "["; - result += *c + ('A' - 'a'); + result += static_cast<char>(*c + 'A' - 'a'); result += *c; result += "]"; } @@ -61,7 +61,7 @@ static void cmScriptGeneratorEncodeConfig(const char* config, { result += "["; result += *c; - result += *c + ('a' - 'A'); + result += static_cast<char>(*c + 'a' - 'A'); result += "]"; } else |