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

COMP: fixes for msvc 2015 64 bit

parent 342ef2b7
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ public:
}
/** Return the number of points in the list */
unsigned long GetNumberOfPoints(void) const ITK_OVERRIDE
itk::SizeValueType GetNumberOfPoints(void) const ITK_OVERRIDE
{
return m_Points.size();
}
......
......@@ -21,8 +21,7 @@
int otbLineSpatialObjectNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
{
const unsigned int Dimension = 2;
typedef otb::LineSpatialObject<Dimension> LineSpatialObjectType;
typedef otb::LineSpatialObject<2> LineSpatialObjectType;
// Instantiating object
LineSpatialObjectType::Pointer object = LineSpatialObjectType::New();
......
......@@ -75,6 +75,7 @@ public:
typedef typename OutputPathType::ContinuousIndexType ContinuousIndexType;
typedef typename InputImageType::PixelType PixelType;
typedef typename InputImageType::SizeType SizeType;
/** Set and Get foreground value */
itkSetMacro(ForegroundValue, PixelType);
......
......@@ -63,7 +63,7 @@ ImageToEdgePathFilter<TInputImage, TOutputPath>
typename PadFilterType::Pointer pad = PadFilterType::New();
pad->SetInput(inputImage);
pad->SetConstant(initPadConstant);
long unsigned int padSize[2] = {1, 1};
SizeType padSize = { 1, 1 };
pad->SetPadUpperBound(padSize);
pad->SetPadLowerBound(padSize);
pad->Update();
......
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