X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDocEntry.cxx;h=6224b551b049469b671de3a294bd18da5a1c871f;hb=8d704be3e460a26db22f2d41dbaf02811bc71a45;hp=7ed8dc72a6b41778240d1c886b0821e8e7917c16;hpb=ab405fc04a3d4f47d79bbc0fdc446768b1a309f4;p=gdcm.git diff --git a/src/gdcmDocEntry.cxx b/src/gdcmDocEntry.cxx index 7ed8dc72..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/03/11 11:08:31 $ - Version: $Revision: 1.54 $ + 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 @@ -93,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) {