diff OrthancServer/ParsedDicomFile.cpp @ 1520:4a503a8c7749

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2015 13:26:42 +0200
parents 8bd0d897763f
children 3606278d305e
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp	Tue Aug 11 13:15:16 2015 +0200
+++ b/OrthancServer/ParsedDicomFile.cpp	Tue Aug 11 13:26:42 2015 +0200
@@ -301,7 +301,7 @@
  
       virtual bool ReadNextChunk()
       {
-        assert(offset_ < length_);
+        assert(offset_ <= length_);
 
         if (offset_ == length_)
         {