Skip to content

Commit

Permalink
removes usage of byte from RarFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marshall committed May 11, 2013
1 parent 708cefd commit d7ef9cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions xbmc/filesystem/RarFile.cpp
Expand Up @@ -287,7 +287,7 @@ unsigned int CRarFile::Read(void *lpBuf, int64_t uiBufSize)
}


byte* pBuf = (byte*)lpBuf;
uint8_t* pBuf = (uint8_t*)lpBuf;
int64_t uicBufSize = uiBufSize;
if (m_iDataInBuffer > 0)
{
Expand Down Expand Up @@ -718,7 +718,7 @@ bool CRarFile::OpenInArchive()
m_pArc->SeekToNext();
}

m_szBuffer = new byte[MAXWINMEMSIZE];
m_szBuffer = new uint8_t[MAXWINMEMSIZE];
m_szStartOfBuffer = m_szBuffer;
m_pExtract->GetDataIO().SetUnpackToMemory(m_szBuffer,0);
m_iDataInBuffer = -1;
Expand Down
4 changes: 2 additions & 2 deletions xbmc/filesystem/RarFile.h
Expand Up @@ -104,8 +104,8 @@ namespace XFILE
CmdExtract* m_pExtract;
CRarFileExtractThread* m_pExtractThread;
#endif
byte* m_szBuffer;
byte* m_szStartOfBuffer;
uint8_t* m_szBuffer;
uint8_t* m_szStartOfBuffer;
int64_t m_iDataInBuffer;
int64_t m_iBufferStart;
};
Expand Down

0 comments on commit d7ef9cb

Please sign in to comment.