changeset 6927:57fa3469609a

fix comment
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jun 2026 14:31:05 +0200
parents ca0001e90b36
children 9c2227f350a1 ec3781d07f48
files OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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<uint64_t>(static_cast<Uint32>(target->GetSize())) != target->GetSize()) // in case, some day, MAX_DECODED_FRAME_SIZE gets larger than 4GB
+      if (static_cast<uint64_t>(static_cast<Uint32>(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() << ")";