]> Creatis software - gdcm.git/blobdiff - Testing/TestAllReadCompareDicom.cxx
* DEVELOPPER spread out in Doc/Website/Developpers.html, CodingStyle.html,
[gdcm.git] / Testing / TestAllReadCompareDicom.cxx
index d94cd52d347bcefea3bb283d7c65706c242366ad..3f1116581bcd9514ddfa5183842818246a99dbc1 100644 (file)
@@ -35,7 +35,7 @@ int InternalTest(std::string const & filename, std::string const & referenceFile
                    << std::endl;
          delete tested;
          delete (char*)testedImageData;
-         //continue; 
+         return 0;
       }
       else
       {
@@ -44,7 +44,7 @@ int InternalTest(std::string const & filename, std::string const & referenceFile
 
       ////// When reference file is not gdcm readable test is failed:
   
-      gdcmFile* reference = new gdcmFile( referenceFileName.c_str() );
+      gdcmFile* reference = new gdcmFile( referenceFileName );
       if( !reference->GetHeader()->IsReadable() )
       {
          std::cout << "      Reference image " << std::endl