[Insight-developers] Double to float conversion warning

Mathieu Coursolle mcoursolle at rogue-research.com
Fri Aug 17 16:24:11 EDT 2007


Hi,

I currently use ITK to read some DICOM files from an XCode project.
However, I get 
a warning coming from /Utilities/DICOMParser/DICOMAppHelper.h because
some double
values are set into float variables.

ex:

float x = 2.0;

A sample fix would be :

float x = 2.0f;

However, my question is:

Is DICOMParser part of the ITK code and can be modified, or is it code
from a 3rdParty
that is built as part of ITK? In the later, how can this be fixed?

Thanks!

Mathieu

-- 
____________________________________________________________
Mathieu Coursolle                   mcoursolle at rogue-research.com
Rogue Research                      www.rogue-research.com 
Montréal, Québec, Canada



More information about the Insight-developers mailing list