[Insight-developers] OffsetValueType

Mark Foskey mark_foskey@unc.edu
Mon, 21 Apr 2003 19:26:37 -0400


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.

-- 
Mark Foskey    (919) 843-5436  Computer-Aided Diagnosis and Display Lab
mark_foskey@unc.edu            Department of Radiology, CB 7515, UNC
http://www.cs.unc.edu/~foskey  Chapel Hill, NC  27599-7515