Commit b1b52480 authored by Rashad Kanavath's avatar Rashad Kanavath

BUG: fixing mantis #1044

parent 8e31914a
......@@ -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 << ","
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment