Mercurial > hg > orthanc
comparison Core/DicomParsing/ParsedDicomDir.cpp @ 3555:99cd59fe8c5c
fix for msvc
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Oct 2019 11:55:42 +0100 |
parents | 8fe89c2ea593 |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3554:8fe89c2ea593 | 3555:99cd59fe8c5c |
---|---|
105 { | 105 { |
106 Clear(); | 106 Clear(); |
107 throw OrthancException(ErrorCode_InternalError); | 107 throw OrthancException(ErrorCode_InternalError); |
108 } | 108 } |
109 | 109 |
110 uint32_t next, lower; | 110 Uint32 next, lower; |
111 if (!item->findAndGetUint32(DCM_OffsetOfTheNextDirectoryRecord, next).good() || | 111 if (!item->findAndGetUint32(DCM_OffsetOfTheNextDirectoryRecord, next).good() || |
112 !item->findAndGetUint32(DCM_OffsetOfReferencedLowerLevelDirectoryEntity, lower).good()) | 112 !item->findAndGetUint32(DCM_OffsetOfReferencedLowerLevelDirectoryEntity, lower).good()) |
113 { | 113 { |
114 item->writeXML(std::cout); | 114 item->writeXML(std::cout); |
115 throw OrthancException(ErrorCode_BadFileFormat, | 115 throw OrthancException(ErrorCode_BadFileFormat, |