diff OrthancFramework/Sources/DicomFormat/DicomImageInformation.h @ 4076:eab8010c05fc framework

avoid relying on boost::bad_lexical_cast in DicomImageInformation
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 19 Jun 2020 18:45:16 +0200
parents d25f4c0fa160
children bf7b9edf6b81
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomImageInformation.h	Wed Jun 17 18:19:45 2020 +0200
+++ b/OrthancFramework/Sources/DicomFormat/DicomImageInformation.h	Fri Jun 19 18:45:16 2020 +0200
@@ -45,15 +45,15 @@
     unsigned int width_;
     unsigned int height_;
     unsigned int samplesPerPixel_;
-    unsigned int numberOfFrames_;
+    uint32_t numberOfFrames_;
 
     bool isPlanar_;
     bool isSigned_;
     size_t bytesPerValue_;
 
-    unsigned int bitsAllocated_;
-    unsigned int bitsStored_;
-    unsigned int highBit_;
+    uint32_t bitsAllocated_;
+    uint32_t bitsStored_;
+    uint32_t highBit_;
 
     PhotometricInterpretation  photometric_;