|
|
|
@ -133,7 +133,7 @@ void ChecksumVerifierThread::checkSFV(const TQString &sfvfile, const TQString &f
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
inline long ChecksumVerifierThread::UpdateCRC(register unsigned long CRC, register char *buffer, register long count)
|
|
|
|
|
inline long ChecksumVerifierThread::UpdateCRC(unsigned long CRC, char *buffer, long count)
|
|
|
|
|
{
|
|
|
|
|
unsigned long CRCTABLE[] = {
|
|
|
|
|
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
|
|
|
|
@ -196,7 +196,7 @@ inline long ChecksumVerifierThread::UpdateCRC(register unsigned long CRC, regist
|
|
|
|
|
|
|
|
|
|
long ChecksumVerifierThread::getFileCRC(const char *filename)
|
|
|
|
|
{
|
|
|
|
|
register unsigned long crc = 0xffffffff;
|
|
|
|
|
unsigned long crc = 0xffffffff;
|
|
|
|
|
FILE *f;
|
|
|
|
|
long totalread = 0;
|
|
|
|
|
long localread;
|
|
|
|
|