Mercurial > hg > orthanc
diff Core/DicomParsing/FromDcmtkBridge.cpp @ 2522:ce2dfba9417c
fix build with dcmtk 3.6.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Apr 2018 06:57:42 +0200 |
parents | 97a74f0eac7a |
children | 832217e4e872 |
line wrap: on
line diff
--- a/Core/DicomParsing/FromDcmtkBridge.cpp Mon Apr 09 17:59:16 2018 +0200 +++ b/Core/DicomParsing/FromDcmtkBridge.cpp Tue Apr 10 06:57:42 2018 +0200 @@ -2182,7 +2182,7 @@ case ITagVisitor::Action_Replace: { std::string s = Toolbox::ConvertFromUtf8(newValue, encoding); - if (element.putString(s.c_str(), s.size()) != EC_Normal) + if (element.putString(s.c_str()) != EC_Normal) { LOG(ERROR) << "Cannot replace value of tag: " << tag.Format(); throw OrthancException(ErrorCode_InternalError);