[Insight-developers] Fixing 64 bits warnings on Mac : Nifti
Sean McBride
sean at rogue-research.com
Mon Nov 16 12:08:54 EST 2009
On 11/15/09 6:28 PM, Luis Ibanez said:
>We are fixing conversions warnings in Mac, that indicate potential
>truncation of 64 bits types into 32 bits types.
>
>As part of this effort, the following changes were committed to the
>nifti library in Insight/Utilities.
>
>http://public.kitware.com/cgi-bin/viewcvs.cgi/Utilities/nifti/niftilib/
>nifti1_io.c?root=Insight&r1=1.33&r2=1.34&sortby=date
I noticed you changed code like:
0.0
to
(float)(0.0)
Personally, I find "0.0f" nicer than a cast.
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the Insight-developers
mailing list