From cb845072f61c0a454054a8b7939dd710321d88f0 Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@c-s.fr> Date: Fri, 20 Apr 2007 08:42:06 +0000 Subject: [PATCH] Tentative de correction de segfault des tests. --- Code/IO/otbImageFileReader.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/IO/otbImageFileReader.txx b/Code/IO/otbImageFileReader.txx index c8b8536767..45fa8759f5 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_ImagfeIO->GetNumberOfComponents()); + std::streamoff nbBytes = static_cast<std::streamoff>(this->GetComponentSize())*static_cast<std::streamoff>(region.GetNumberOfPixels())*static_cast<std::streamoff>(m_ImageIO->GetNumberOfComponents()); otbMsgDevMacro(<<"NbBytes "<<nbBytes); otbMsgDevMacro(<< "Buffer conversion required from: " -- GitLab