MantisBT - ITK
View Issue Details
0008213ITKpublic2008-12-02 15:212010-10-21 12:32
Niels Dekker 
Niels Dekker 
lowminoralways
closedfixed 
ITK-3-10 
 
0008213: itkNumericTraits.h warning C4310 (MSVC): cast truncates constant value
Denis Shamonin reported a compiler warning at [Insight-users] ("C4310: cast truncates constant value"), triggered by the implementation of min() and max(), in itkNumericTraits.h:

"[Insight-users] NumericTraits level 3 warnings on VS 2008"
http://www.itk.org/pipermail/insight-users/2008-November/028079.html [^]

I wouldn't mind committing the fix that I suggested in my follow-up:
http://www.itk.org/pipermail/insight-users/2008-November/028098.html [^]

I hope to do so tomorrow, when my Experimental turns out well.
No tags attached.
Issue History
2008-12-02 15:21Niels DekkerNew Issue
2008-12-02 15:24Niels DekkerAssigned To => Niels Dekker
2008-12-02 15:24Niels DekkerStatusnew => assigned
2008-12-03 10:19Niels DekkerNote Added: 0014275
2008-12-03 10:20Niels DekkerStatusassigned => resolved
2008-12-03 10:20Niels DekkerResolutionopen => fixed
2010-10-21 12:32Gabe HartStatusresolved => closed

Notes
(0014275)
Niels Dekker   
2008-12-03 10:19   
Committed: http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkNumericTraits.h?revision=1.54&root=Insight&view=markup [^]