From: regrain Date: Wed, 23 Feb 2005 09:54:59 +0000 (+0000) Subject: * remove compilation warnings X-Git-Tag: Version1.2.bp~862 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f12e51a575034ba832a0ff3b9f9c5ba219fc8562;p=gdcm.git * remove compilation warnings -- BeNours --- diff --git a/src/gdcmFileHelper.cxx b/src/gdcmFileHelper.cxx index 9df50559..1e31cd1c 100644 --- a/src/gdcmFileHelper.cxx +++ b/src/gdcmFileHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFileHelper.cxx,v $ Language: C++ - Date: $Date: 2005/02/22 14:13:42 $ - Version: $Revision: 1.19 $ + Date: $Date: 2005/02/23 09:54:59 $ + Version: $Revision: 1.20 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1159,7 +1159,8 @@ void FileHelper::CheckMandatoryElements() // Entries whose type is 2 are mandatory, with a optional value // Entries whose type is 2c are ? // Entries whose type is 3 are optional - ValEntry *e; + +// ValEntry *e; // Modality /* ValEntry *e0008_0060 = FileInternal->GetValEntry(0x0008, 0x0060); diff --git a/src/gdcmPixelReadConvert.cxx b/src/gdcmPixelReadConvert.cxx index 89ae9952..d3dfec5b 100644 --- a/src/gdcmPixelReadConvert.cxx +++ b/src/gdcmPixelReadConvert.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmPixelReadConvert.cxx,v $ Language: C++ - Date: $Date: 2005/02/17 10:53:21 $ - Version: $Revision: 1.52 $ + Date: $Date: 2005/02/23 09:54:59 $ + Version: $Revision: 1.53 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -690,8 +690,8 @@ void PixelReadConvert::ConvertFixGreyLevels() { if ( BitsAllocated == 8 ) { - int8_t smask8 = 255; - int8_t *deb = (int8_t *)Raw; + uint8_t smask8 = 255; + uint8_t *deb = (uint8_t *)Raw; for (i=0; i