[MINC-users] 64 bit problem for minc-1.3 ParseArgv.c
Yasunari Tosa
tosa@nmr.mgh.harvard.edu
Tue Oct 12 13:45:05 2004
Is MINC going to be 64 bit clean?
I need to change minc-1.3/libsrc/ParseArgv.c for 64 bit where
nargs = (int) infoPtr->src
to
nargs = (long) infoPtr->src
since ptr on 64 bit is not 32 bit but 64 bit and thus need to cast it as
long.
Fortunately this mod won't matter for 32 bit, since long and int are
both 32 bit.
Thank you.
Tosa
--
Yasunari Tosa, Ph.D. Email: tosa@nmr.mgh.harvard.edu
NMR Ctr, Mass. General Hospital TEL: 617-726-4050
Building 149, 13th Street
Charlestown, MA 02129
USA