X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FWriteRead.cxx;h=fab3f75dac2851d9b6746cf1b8b8688186a6ebf3;hb=11e8ba6703445b550f01905a03c54d219445997c;hp=54f9140a21da5c07ef7b2c0d9812cf242e4ad9fc;hpb=1d69b92978803204089d270599133917d944c651;p=gdcm.git diff --git a/Example/WriteRead.cxx b/Example/WriteRead.cxx index 54f9140a..fab3f75d 100644 --- a/Example/WriteRead.cxx +++ b/Example/WriteRead.cxx @@ -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 #include #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 )