From: jpr Date: Fri, 28 Sep 2007 14:16:09 +0000 (+0000) Subject: avoid warning X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2fc611bb9b521a14111cfe86ece302361815dd48;p=gdcm.git avoid warning --- diff --git a/src/gdcmDataEntry.cxx b/src/gdcmDataEntry.cxx index 32405c6f..ca55ae56 100644 --- a/src/gdcmDataEntry.cxx +++ b/src/gdcmDataEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDataEntry.cxx,v $ Language: C++ - Date: $Date: 2007/09/18 16:07:19 $ - Version: $Revision: 1.49 $ + Date: $Date: 2007/09/28 14:16:09 $ + Version: $Revision: 1.50 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -620,7 +620,7 @@ std::string const &DataEntry::GetHexaRepresentation() const } else { - int l = (Length > GDCM_MAX_LENGTH_TO_CONVERT_TO_HEXA) ? GDCM_MAX_LENGTH_TO_CONVERT_TO_HEXA : Length; + unsigned int l = (Length > GDCM_MAX_LENGTH_TO_CONVERT_TO_HEXA) ? GDCM_MAX_LENGTH_TO_CONVERT_TO_HEXA : Length; uint8_t *data=(uint8_t *)BinArea; for (unsigned int i=0; i < l; i++) {