Fix raw pointer bug

This commit is contained in:
Phillip Stephens 2019-06-02 20:35:04 -07:00
parent da4008bf50
commit 82c607ec40
1 changed files with 1 additions and 1 deletions

View File

@ -779,7 +779,7 @@ void Card::format(ECardSlot id, ECardSize size, EEncoding encoding) {
m_tmpCh = m_ch;
m_tmpCh._swapEndian();
m_fileHandle.resizeQueue(5 + blockCount);
m_fileHandle.asyncWrite(0, &m_tmpCh.__raw, BlockSize, 0);
m_fileHandle.asyncWrite(0, m_tmpCh.__raw, BlockSize, 0);
m_tmpDirs[0] = m_dirs[0];
m_tmpDirs[0].swapEndian();
m_fileHandle.asyncWrite(1, m_tmpDirs[0].__raw, BlockSize, BlockSize * 1);