]> Creatis software - gdcm.git/blobdiff - src/gdcmHeaderEntry.cxx
some cosmetic cleanup so that compilation : -W -Wall -Werror can pass.
[gdcm.git] / src / gdcmHeaderEntry.cxx
index 1b4338815b3511b90741d89fd8892863b9311113..eda099ce8d65f185eac674ac5ef04a574ad6c93a 100644 (file)
@@ -124,7 +124,10 @@ void gdcmHeaderEntry::Print(std::ostream & os) {
       if (v == "4294967295") // to avoid troubles in convertion 
          sprintf (st," x(ffffffff)");
       else
-         sprintf(st," x(%x)",(unsigned long)atof(v.c_str()));
+                               {
+         //sprintf(st," x(%x)",(unsigned long)atof(v.c_str()));
+         sprintf(st," x(%x)", atoi(v.c_str()));//FIXME
+                                }
       s << st;
    }
    s << std::endl;