提交 3b430b37 编写于 作者: Y yong.you

modify the seek

上级 c69d7c0b
......@@ -35,7 +35,7 @@ class MessageBlockWriter {
int seq = block.getIndex(i);
int size = block.getSize(i);
m_indexFile.seek(seq * 6);
m_indexFile.seek(seq * 6L);
m_indexFile.writeInt(m_blockAddress);
m_indexFile.writeShort(blockSize);
blockSize += size;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册