*
* Copyright 2010 Martin Westergaard Jørgensen <martinwj2005@gmail.com>
* Copyright 2010 Daniël Niggebrugge <niggebrugge@fox-it.com>
*
* Copyright 2010 Martin Westergaard Jørgensen <martinwj2005@gmail.com>
* Copyright 2010 Daniël Niggebrugge <niggebrugge@fox-it.com>
fseek(m_pFile, 0, SEEK_SET);
if(len % m_chainsizebytes > 0)
{
fseek(m_pFile, 0, SEEK_SET);
if(len % m_chainsizebytes > 0)
{
// ALERT: Possible problem here if m_indexrowsizebytes > 1 as pNumChains is a unsigned char.
unsigned int NumChainsInRow = (unsigned int)*(pNumChains + indexRow * m_indexrowsizebytes);
if(m_indexrowsizebytes > 1)
// ALERT: Possible problem here if m_indexrowsizebytes > 1 as pNumChains is a unsigned char.
unsigned int NumChainsInRow = (unsigned int)*(pNumChains + indexRow * m_indexrowsizebytes);
if(m_indexrowsizebytes > 1)