Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 25335
Collapse All | Expand All

(-)VTK.orig/IO/vtkBMPReader.cxx (-2 / +2 lines)
Lines 504-514 Link Here
504
        outPtr0 += outIncr[0];
504
        outPtr0 += outIncr[0];
505
        }
505
        }
506
      // move to the next row in the file and data
506
      // move to the next row in the file and data
507
      self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip0, ios::beg);
507
      self->GetFile()->seekg(self->GetFile()->tellg() + (ios::pos_type)streamSkip0, ios::beg);
508
      outPtr1 += outIncr[1];
508
      outPtr1 += outIncr[1];
509
      }
509
      }
510
    // move to the next image in the file and data
510
    // move to the next image in the file and data
511
    self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip1, ios::beg);
511
    self->GetFile()->seekg(self->GetFile()->tellg() + (ios::pos_type)streamSkip1, ios::beg);
512
    outPtr2 += outIncr[2];
512
    outPtr2 += outIncr[2];
513
    }
513
    }
514
514
(-)VTK.orig/IO/vtkImageReader.cxx (-2 / +2 lines)
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
    }

Return to bug 25335