# HG changeset patch # User Sebastien Jodogne # Date 1780662665 -7200 # Node ID 57fa3469609a071374fe8898c71bb22503a89f40 # Parent ca0001e90b3698dca1dd657c055f42c98191480d fix comment diff -r ca0001e90b36 -r 57fa3469609a OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp --- a/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp Fri Jun 05 14:28:33 2026 +0200 +++ b/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp Fri Jun 05 14:31:05 2026 +0200 @@ -813,7 +813,7 @@ } else { - if (static_cast(static_cast(target->GetSize())) != target->GetSize()) // in case, some day, MAX_DECODED_FRAME_SIZE gets larger than 4GB + if (static_cast(static_cast(target->GetSize())) != target->GetSize()) // in case, some day, MAX_IMAGE_FRAME_SIZE gets larger than 4GB { std::ostringstream errorMessage; errorMessage << "ImageDecoder: target->GetSize() too large for DCMTK interface (" << target->GetSize() << ")";