revert AdvanceChunkPtr change
This commit is contained in:
parent
fc69bdf666
commit
ad4e1e14c8
|
@ -1246,7 +1246,7 @@ void AdvanceChunkPtr(tPipe_chunk** pChunk, tChunk_subject_index pType) {
|
|||
/* Fail-safe to avoid reading junk data from the session after */
|
||||
if (*(tU8**)pChunk == gEnd_of_session) {
|
||||
*pChunk = old_chunk;
|
||||
} else if ((int)(*(int**)pChunk) > (int)gEnd_of_session) {
|
||||
} else if (*(tU8**)pChunk > gEnd_of_session) {
|
||||
*pChunk = old_chunk;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue