diff options
Diffstat (limited to 'Source')
-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) |