We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51c5add commit cab6f5bCopy full SHA for cab6f5b
llvm/include/llvm/Bitstream/BitstreamWriter.h
@@ -156,7 +156,7 @@ class BitstreamWriter {
156
uint64_t CurPos = FS->tell();
157
158
// Copy data to update into Bytes from the file FS and the buffer Out.
159
- char Bytes[8];
+ char Bytes[9]; // Use one more byte to silence a warning from Visual C++.
160
size_t BytesNum = StartBit ? 8 : 4;
161
size_t BytesFromDisk = std::min(static_cast<uint64_t>(BytesNum), NumOfFlushedBytes - ByteNo);
162
size_t BytesFromBuffer = BytesNum - BytesFromDisk;
0 commit comments