Improve compatibility for 32 bits dump
This commit is contained in:
parent
014f7f9564
commit
56e6761bf5
@ -139,14 +139,16 @@ void UnformattedRead::beginCheckpoint(bool bufferRecord)
|
||||
|
||||
void UnformattedRead::endCheckpoint(bool autodrop)
|
||||
{
|
||||
bool always_fail = false;
|
||||
|
||||
if (recordBuffer != 0) {
|
||||
delete[] recordBuffer;
|
||||
recordBuffer = 0;
|
||||
}
|
||||
if (cSize == Check_32bits) {
|
||||
if (checkPointAccum >= 1<<32UL) {
|
||||
if (checkPointAccum >= 1UL<<32UL) {
|
||||
always_fail = true;
|
||||
checkPointAccum %= (1<<32UL);
|
||||
checkPointAccum %= (1UL<<32UL);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user