From 4acee42d42762de879ce2fc64324764585ed8199 Mon Sep 17 00:00:00 2001 From: malaterre Date: Tue, 18 Oct 2005 18:42:51 +0000 Subject: [PATCH] COMP: Fix other people warnings --- src/gdcmDataEntry.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gdcmDataEntry.cxx b/src/gdcmDataEntry.cxx index 11000d31..ebe2409d 100644 --- a/src/gdcmDataEntry.cxx +++ b/src/gdcmDataEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDataEntry.cxx,v $ Language: C++ - Date: $Date: 2005/10/18 10:19:27 $ - Version: $Revision: 1.2 $ + Date: $Date: 2005/10/18 18:42:51 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -327,7 +327,7 @@ std::string const &DataEntry::GetString() const { uint16_t *data=(uint16_t *)BinArea; - for (int i=0; i < GetValueCount(); i++) + for (unsigned int i=0; i < GetValueCount(); i++) { if( i!=0 ) s << '\\'; @@ -340,7 +340,7 @@ std::string const &DataEntry::GetString() const { uint32_t *data=(uint32_t *)BinArea; - for (int i=0; i < GetValueCount(); i++) + for (unsigned int i=0; i < GetValueCount(); i++) { if( i!=0 ) s << '\\'; @@ -352,7 +352,7 @@ std::string const &DataEntry::GetString() const { float *data=(float *)BinArea; - for (int i=0; i < GetValueCount(); i++) + for (unsigned int i=0; i < GetValueCount(); i++) { if( i!=0 ) s << '\\'; @@ -364,7 +364,7 @@ std::string const &DataEntry::GetString() const { double *data=(double *)BinArea; - for (int i=0; i < GetValueCount(); i++) + for (unsigned int i=0; i < GetValueCount(); i++) { if( i!=0 ) s << '\\'; -- 2.48.1