X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmParsePixels.cxx;h=080904d665367bdc59a7fad2da44c8531ce20f97;hb=a8e108589a4d5b8a0fc4a0ff758f962b16a9dabc;hp=8918bd924efc18172de4a70ff2edbe5b0d5fc905;hpb=b1520ca5b7b3665aa40c14b63169bfab92eece55;p=gdcm.git diff --git a/src/gdcmParsePixels.cxx b/src/gdcmParsePixels.cxx index 8918bd92..080904d6 100644 --- a/src/gdcmParsePixels.cxx +++ b/src/gdcmParsePixels.cxx @@ -3,12 +3,12 @@ Program: gdcm Module: $RCSfile: gdcmParsePixels.cxx,v $ Language: C++ - Date: $Date: 2004/06/22 13:47:33 $ - Version: $Revision: 1.7 $ + Date: $Date: 2004/09/27 08:39:07 $ + Version: $Revision: 1.11 $ 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.htm for details. + 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 @@ -34,7 +34,7 @@ bool gdcmFile::ParsePixelData(void) { // DO NOT remove the printf s. // The ONLY purpose of this method is to PRINT the content - FILE *fp; + FILE* fp; if ( !(fp=Header->OpenFile())) return false; @@ -68,7 +68,7 @@ bool gdcmFile::ParsePixelData(void) { printf ("Checking the Dicom-encapsulated Jpeg/RLE Pixels\n"); - guint16 ItemTagGr,ItemTagEl; + uint16_t ItemTagGr,ItemTagEl; int ln; long ftellRes; //char * destination = NULL; @@ -97,9 +97,9 @@ bool gdcmFile::ParsePixelData(void) { // What is it used for ?? char * BasicOffsetTableItemValue= new char[ln+1]; fread(BasicOffsetTableItemValue,ln,1,fp); - guint32 a; + uint32_t a; for (int i=0;i