]> Creatis software - gdcm.git/blobdiff - Example/WriteRead.cxx
* FIX : src/gdcmDocument.cxx Remove obvious code in the destructor
[gdcm.git] / Example / WriteRead.cxx
index 54f9140a21da5c07ef7b2c0d9812cf242e4ad9fc..fab3f75dac2851d9b6746cf1b8b8688186a6ebf3 100644 (file)
@@ -1,3 +1,20 @@
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: WriteRead.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/11/16 04:26:18 $
+  Version:   $Revision: 1.8 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
 #include <iostream>
 #include <stdio.h>
 #include "gdcm.h"
@@ -10,7 +27,7 @@ int main(int argc, char* argv[])
    gdcm::Header* e1, *e2;
    gdcm::File  * f1, *f2;
 
-   void* imageData, *imageData2;
+   uint8_t* imageData, *imageData2;
    int dataSize, dataSize2;
      
    if( argc < 2 )