Browse Source

Fix warnings in CMake source code.

David Cole 16 years ago
parent
commit
004626d179
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmHexFileConverter.cxx

+ 1 - 1
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)