diff --git a/Code/IO/otbImageFileReader.txx b/Code/IO/otbImageFileReader.txx
index 45fa8759f5b0c556c79ff9912b59448ff7211552..773b977f085e460776545f8c5eb8a97a058b3a3d 100755
--- a/Code/IO/otbImageFileReader.txx
+++ b/Code/IO/otbImageFileReader.txx
@@ -174,7 +174,7 @@ ImageFileReader<TOutputImage>
 // PB : the GetComponentSize() method of the itkImageIOBase  class is protected. 
 // duplicated this method in this class (very BAD)
 	
-    std::streamoff nbBytes = static_cast<std::streamoff>(this->GetComponentSize())*static_cast<std::streamoff>(region.GetNumberOfPixels())*static_cast<std::streamoff>(m_ImageIO->GetNumberOfComponents());
+    std::streamoff nbBytes = static_cast<std::streamoff>(this->GetComponentSize())*static_cast<std::streamoff>(region.GetNumberOfPixels())*static_cast<std::streamoff>(this->m_ImageIO->GetNumberOfComponents());
     otbMsgDevMacro(<<"NbBytes "<<nbBytes);
 
     otbMsgDevMacro(<< "Buffer conversion required from: "