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.
2 parents a886606 + ec741b5 commit 6e530f4Copy full SHA for 6e530f4
lib/Runtime/ByteCode/ByteCodeSerializer.cpp
@@ -3169,7 +3169,7 @@ class ByteCodeBufferReader
3169
string16IndexTable = (StringIndexRecord*)ReadInt32(string16s, &string16Count);
3170
lineCharacterOffsetCacheBuffer = (charcount_t *)ReadInt32(lineInfoCaches, &lineInfoCacheCount);
3171
byte haslineByteOffsetCacheBuffer;
3172
- current = ReadByte(lineInfoCaches + sizeof(charcount_t) * lineInfoCacheCount, &haslineByteOffsetCacheBuffer);
+ current = ReadByte((byte*)lineCharacterOffsetCacheBuffer + sizeof(charcount_t) * lineInfoCacheCount, &haslineByteOffsetCacheBuffer);
3173
if (haslineByteOffsetCacheBuffer)
3174
{
3175
lineByteOffsetCacheBuffer = (charcount_t *)current;
0 commit comments