From: jpr Date: Thu, 22 Jan 2004 16:51:56 +0000 (+0000) Subject: To solve lengthes = 0x(FFFF) related pb X-Git-Tag: Version0.4~65 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8845fe9fca6c1ed22eaaae4dd4561c0ba2f31a6b;p=gdcm.git To solve lengthes = 0x(FFFF) related pb --- diff --git a/src/gdcmHeaderEntry.cxx b/src/gdcmHeaderEntry.cxx index 6ce3a9f8..32a83b60 100644 --- a/src/gdcmHeaderEntry.cxx +++ b/src/gdcmHeaderEntry.cxx @@ -51,7 +51,7 @@ void gdcmHeaderEntry::Print(std::ostream & os) { s << "lg : "; lgth = GetReadLength(); if (lgth == 0xffffffff) { - sprintf(st,"x(%ff)"); + sprintf(st,"x(ff)"); // I said : "x(ff)" ! s.setf(std::ios::left); s << std::setw(10-strlen(st)) << " "; s << st << " ";