X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDataEntry.cxx;h=ca55ae56e4811ac118fb79dbac28ba39c2ff59a2;hb=e7768bbebdc9a5972e396d71a3e848f5674ee378;hp=32405c6fbfbdb4d3730df9b4392e757f83e309c7;hpb=c11eeca290f653c81f34d5e94b11241c4daad317;p=gdcm.git 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++) {