diff --git a/Modules/Core/Common/include/itkDefaultVectorPixelAccessor.h b/Modules/Core/Common/include/itkDefaultVectorPixelAccessor.h index a255665e92b..a63bb448e70 100644 --- a/Modules/Core/Common/include/itkDefaultVectorPixelAccessor.h +++ b/Modules/Core/Common/include/itkDefaultVectorPixelAccessor.h @@ -63,7 +63,7 @@ class ITK_TEMPLATE_EXPORT DefaultVectorPixelAccessor /** Set output using the value in input */ inline void - Set(InternalType & output, const ExternalType & input, const unsigned long offset) const + Set(InternalType & output, const ExternalType & input, const SizeValueType offset) const { InternalType * truePixel = (&output) + offset * m_OffsetMultiplier; diff --git a/Modules/Core/ImageAdaptors/include/itkNthElementPixelAccessor.h b/Modules/Core/ImageAdaptors/include/itkNthElementPixelAccessor.h index 9ef242e27f6..1ac2e54224a 100644 --- a/Modules/Core/ImageAdaptors/include/itkNthElementPixelAccessor.h +++ b/Modules/Core/ImageAdaptors/include/itkNthElementPixelAccessor.h @@ -144,7 +144,7 @@ class NthElementPixelAccessor