}
-int RTIReader::ReadChains(unsigned int &numChains, RainbowChain *pData)
+int RTIReader::ReadChains(uint32 &numChains, RainbowChain *pData)
{
// We HAVE to reset the data to 0x00's or we will get in trouble
memset(pData, 0x00, sizeof(RainbowChain) * numChains);
unsigned int readChains = 0;
unsigned int chainsleft = GetChainsLeft();
- for(UINT4 i = 0; i < m_nIndexSize; i++)
+ for(uint32 i = 0; i < m_nIndexSize; i++)
{
if(m_chainPosition + readChains > m_pIndex[i].nFirstChain + m_pIndex[i].nChainCount) // We found the matching index
continue;
return 0;
}
-UINT4 RTIReader::GetChainsLeft()
+uint32 RTIReader::GetChainsLeft()
{
return (GetFileLen(m_pFile) / 8) - m_chainPosition;
}