diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-10 17:01:29 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-10 17:01:29 (GMT) |
commit | 5fe4a9dcef6c6a349b3c0a5f70c94f033e466441 (patch) | |
tree | 7ca6db465d64676d984e3685f05030068af277b4 /Source/kwsys/Registry.cxx | |
parent | 1ef5bdf669ce000f8b887fb9faf93b97c05339eb (diff) | |
download | CMake-5fe4a9dcef6c6a349b3c0a5f70c94f033e466441.zip CMake-5fe4a9dcef6c6a349b3c0a5f70c94f033e466441.tar.gz CMake-5fe4a9dcef6c6a349b3c0a5f70c94f033e466441.tar.bz2 |
STYLE: Make sure to use the proper cast.
Diffstat (limited to 'Source/kwsys/Registry.cxx')
-rw-r--r-- | Source/kwsys/Registry.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/Registry.cxx b/Source/kwsys/Registry.cxx index e717092..43f69a6 100644 --- a/Source/kwsys/Registry.cxx +++ b/Source/kwsys/Registry.cxx @@ -798,7 +798,7 @@ kwsys_stl::string RegistryHelper::DecodeValue(const char* str) case '%': if ( *(str+1) && *(str+2) && sscanf(str+1, "%x", &val) == 1 ) { - ostr << (char)val; + ostr << static_cast<char>(val); str += 2; } else |