#include <creaImageIODicomNodeComparators.h>
#include <creaImageIODicomNode.h>
-
+#include <stdlib.h>
namespace creaImageIO
{
{
if ( x->GetFieldValue(mKey) == y->GetFieldValue(mKey) )
return false;
- float ix = atof(x->GetFieldValue(mKey).c_str());
- float iy = atof(y->GetFieldValue(mKey).c_str());
+ float ix = (float)atof(x->GetFieldValue(mKey).c_str());
+ float iy = (float)atof(y->GetFieldValue(mKey).c_str());
return (ix < iy);
}
//===================================================================