X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocEntry.cxx;h=6224b551b049469b671de3a294bd18da5a1c871f;hb=de5fc413dc579fc61f7e04397efd1dc1087fe3cf;hp=32c5f2854bee08d6b2111dfcc7afa58191e18b92;hpb=fefc9b7857bfe001051ec94a59256f6c7b684277;p=gdcm.git diff --git a/src/gdcmDocEntry.cxx b/src/gdcmDocEntry.cxx index 32c5f285..6224b551 100644 --- a/src/gdcmDocEntry.cxx +++ b/src/gdcmDocEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocEntry.cxx,v $ Language: C++ - Date: $Date: 2005/02/06 14:43:27 $ - Version: $Revision: 1.53 $ + Date: $Date: 2005/04/19 09:58:19 $ + Version: $Revision: 1.55 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -29,9 +29,7 @@ namespace gdcm { //----------------------------------------------------------------------------- -#define MAX_SIZE_PRINT_ELEMENT_VALUE 64 -//----------------------------------------------------------------------------- // Constructor / Destructor /** * \brief Constructor from a given DictEntry @@ -95,7 +93,7 @@ void DocEntry::WriteContent(std::ofstream *fp, FileType filetype) } uint16_t z = 0; - uint16_t shortLgr = lgth; + uint16_t shortLgr = (uint16_t)lgth; if (vr == GDCM_UNKNOWN) {