changeset 2202:2795f1ee4a1a deep-learning

integration mainline->deep-learning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 19 Apr 2025 11:47:20 +0200 (11 days ago)
parents 5251dad99350 (current diff) be298b7f5469 (diff)
children e1613509a939
files Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp	Sat Apr 19 11:41:21 2025 +0200
+++ b/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp	Sat Apr 19 11:47:20 2025 +0200
@@ -1071,7 +1071,7 @@
 
 
   static std::string GetKey(const std::string& sopInstanceUid,
-                            size_t frameNumber)
+                            unsigned int frameNumber)
   {
     return sopInstanceUid + "|" + boost::lexical_cast<std::string>(frameNumber);
   }
@@ -1101,7 +1101,7 @@
    * previously cached one, or if no cache was previously available.
    **/
   bool Acquire(const std::string& sopInstanceUid,
-               size_t frameNumber,
+               unsigned int frameNumber,
                Orthanc::ImageAccessor* image /* transfer ownership */,
                unsigned int quality)
   {
@@ -1179,7 +1179,7 @@
   public:
     Accessor(FramesCache& that,
              const std::string& sopInstanceUid,
-             size_t frameNumber) :
+             unsigned int frameNumber) :
       accessor_(that.cache_, GetKey(sopInstanceUid, frameNumber), false /* shared lock */)
     {
     }
@@ -2304,7 +2304,7 @@
 
   bool         hasFocusOnInstance_;
   std::string  focusSopInstanceUid_;
-  size_t       focusFrameNumber_;
+  unsigned int focusFrameNumber_;
 
   // The coordinates of Stone annotations are expressed in 2D
   // coordinates of the current texture, with (0,0) corresponding to