diff options
author | David Cole <david.cole@kitware.com> | 2009-09-30 15:42:40 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-09-30 15:42:40 (GMT) |
commit | 004626d179f232cfc4450dc7cbf4a5a51c5b84d3 (patch) | |
tree | d3c45aacc98b9b49de7ba7b9a70f66cd9ef2a4fd /Source/cmHexFileConverter.cxx | |
parent | a9dcc7fd47048a25f79f04a0d0a57a81aede617b (diff) | |
download | CMake-004626d179f232cfc4450dc7cbf4a5a51c5b84d3.zip CMake-004626d179f232cfc4450dc7cbf4a5a51c5b84d3.tar.gz CMake-004626d179f232cfc4450dc7cbf4a5a51c5b84d3.tar.bz2 |
Fix warnings in CMake source code.
Diffstat (limited to 'Source/cmHexFileConverter.cxx')
-rw-r--r-- | Source/cmHexFileConverter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmHexFileConverter.cxx b/Source/cmHexFileConverter.cxx index c267881..2970531 100644 --- a/Source/cmHexFileConverter.cxx +++ b/Source/cmHexFileConverter.cxx @@ -63,7 +63,7 @@ static bool OutputBin(FILE* file, const char * buf, success = false; break; } - outBuf[outBufCount] = convertedByte & 0xff; + outBuf[outBufCount] = static_cast<char>(convertedByte & 0xff); outBufCount++; } if (success) |