]> Creatis software - gdcm.git/commitdiff
Avoid warnings
authorjpr <jpr>
Wed, 24 Oct 2007 08:03:44 +0000 (08:03 +0000)
committerjpr <jpr>
Wed, 24 Oct 2007 08:03:44 +0000 (08:03 +0000)
Example/ToMRIregister.cxx

index fd65238e38e80e9ee0bc0f4e73888eebfb8666da..ae426b59fa648dae2725803c65bf8f6748268724 100755 (executable)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: ToMRIregister.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/05/23 14:18:04 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2007/10/24 08:03:44 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -234,7 +234,7 @@ int main(int argc, char *argv[])
     
          //int sliceNumber = 0; 
          
-         float position =0.0;
+         double position =0.0;
          char charPosition[10];
          
          for (GDCM_NAME_SPACE::XCoherentFileSetmap::iterator i = xcm.begin();