]> Creatis software - gdcm.git/blobdiff - Example/PatchHeader.cxx
Add class DicomDirPrivate, for dealing with SERIE/PRIVATE
[gdcm.git] / Example / PatchHeader.cxx
index e88de9161a81fa8211ccae3619e37539b92da934..adc06698e0a5a82fed885c5db9196a00a732f342 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: PatchHeader.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/25 14:52:27 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2006/03/01 09:51:56 $
+  Version:   $Revision: 1.7 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -192,8 +192,8 @@ int main(int argc, char *argv[])
       return 0;
    }
 
-   char *fileName = am->ArgMgrGetString("filein",(char *)0);
-   char *dirName  = am->ArgMgrGetString("dirin",(char *)0);
+   const char *fileName = am->ArgMgrGetString("filein");
+   const char *dirName  = am->ArgMgrGetString("dirin");
 
    if ( (fileName == 0 && dirName == 0)
         ||
@@ -312,7 +312,7 @@ int main(int argc, char *argv[])
 
       // 
       //      No need to load the pixels in memory.      
-   //      File will be overwritten
+      //      File will be overwritten
       // 
 
       // open the file