Lines 366-372
Link Here
|
366 |
// if that happens, store the value in correction and apply later |
366 |
// if that happens, store the value in correction and apply later |
367 |
if (filePos + streamSkip0 >= 0) |
367 |
if (filePos + streamSkip0 >= 0) |
368 |
{ |
368 |
{ |
369 |
self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip0, ios::beg); |
369 |
self->GetFile()->seekg(self->GetFile()->tellg() + (ios::pos_type)streamSkip0, ios::beg); |
370 |
correction = 0; |
370 |
correction = 0; |
371 |
} |
371 |
} |
372 |
else |
372 |
else |
Lines 376-382
Link Here
|
376 |
outPtr1 += outIncr[1]; |
376 |
outPtr1 += outIncr[1]; |
377 |
} |
377 |
} |
378 |
// move to the next image in the file and data |
378 |
// move to the next image in the file and data |
379 |
self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip1 + correction, |
379 |
self->GetFile()->seekg(self->GetFile()->tellg() + (ios::pos_type)streamSkip1 + (ios::pos_type)correction, |
380 |
ios::beg); |
380 |
ios::beg); |
381 |
outPtr2 += outIncr[2]; |
381 |
outPtr2 += outIncr[2]; |
382 |
} |
382 |
} |