Skip to content
Snippets Groups Projects
Commit b1b52480 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: fixing mantis #1044

parent 8e31914a
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ LabelImageToVectorDataFilter<TInputImage, TPrecision>
// integer make us pointing to an non allowed memory block => Crash.
std::ostringstream stream;
stream << "MEM:::"
<< "DATAPOINTER=" << (unsigned long)(this->GetInput()->GetBufferPointer()) << ","
<< "DATAPOINTER=" << (unsigned long)(GUIntBig)(this->GetInput()->GetBufferPointer()) << ","
<< "PIXELS=" << size[0] << ","
<< "LINES=" << size[1] << ","
<< "BANDS=" << nbBands << ","
......@@ -213,7 +213,7 @@ LabelImageToVectorDataFilter<TInputImage, TPrecision>
// integer make us pointing to an non allowed memory block => Crash.
std::ostringstream maskstream;
maskstream << "MEM:::"
<< "DATAPOINTER=" << (unsigned long)(this->GetInputMask()->GetBufferPointer()) << ","
<< "DATAPOINTER=" << (unsigned long) (GUIntBig) (this->GetInputMask()->GetBufferPointer()) << ","
<< "PIXELS=" << size[0] << ","
<< "LINES=" << size[1] << ","
<< "BANDS=" << nbBands << ","
......
......@@ -151,7 +151,7 @@ RasterizeVectorDataFilter<TVectorData, TInputImage, TOutputImage>::GenerateData(
std::ostringstream stream;
stream << "MEM:::"
<< "DATAPOINTER=" << (unsigned long)(this->GetOutput()->GetBufferPointer()) << ","
<< "DATAPOINTER=" << (unsigned long) (GUIntBig) (this->GetOutput()->GetBufferPointer()) << ","
<< "PIXELS=" << bufferedRegion.GetSize()[0] << ","
<< "LINES=" << bufferedRegion.GetSize()[1]<< ","
<< "BANDS=" << nbBands << ","
......
......@@ -276,7 +276,7 @@ VectorDataToLabelImageFilter<TVectorData, TOutputImage>::GenerateData()
std::ostringstream stream;
stream << "MEM:::"
<< "DATAPOINTER=" << (unsigned long)(this->GetOutput()->GetBufferPointer()) << ","
<< "DATAPOINTER=" << (unsigned long)(GUIntBig)(this->GetOutput()->GetBufferPointer()) << ","
<< "PIXELS=" << bufferedRegion.GetSize()[0] << ","
<< "LINES=" << bufferedRegion.GetSize()[1]<< ","
<< "BANDS=" << nbBands << ","
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment