[Insight-developers] OffsetValueType
Luis Ibanez
luis.ibanez@kitware.com
Mon, 21 Apr 2003 21:54:00 -0400
Hi Mark,
That sounds like a good idea,
Have you had a chance to try this modification in a 64bit machine ?
We also have a lot of warning in VC7 related to the eventual
possible conflicts when migrating to 64bit architectures.
Your suggested change may also help to get rid of all these warnings.
Luis
---------------
Mark Foskey wrote:
> In itkOffset.h, would it be appropriate to replace
>
> typedef long OffsetValueType;
>
> with
>
> typedef size_t OffsetValueType;
>
> This would be consistent with the use of size_t in the standard
> libraries, and it might avoid problems with 64-bit machines, although I
> haven't thought through just what problems it could prevent.
>
> I'm sure the same question applies to, say, itkIndex.h. If we change
> one, we should change them all.
>