Fix SVACE Issue 29/284129/1
authorseungho <sbsh.baek@samsung.com>
Thu, 10 Nov 2022 07:14:59 +0000 (16:14 +0900)
committerseungho <sbsh.baek@samsung.com>
Thu, 10 Nov 2022 07:14:59 +0000 (16:14 +0900)
Change-Id: If9c627644cc798851f8272deaecffe0542078cc7
Signed-off-by: seungho <sbsh.baek@samsung.com>
dali-toolkit/internal/visuals/animated-image/rolling-image-cache.cpp

index 390af53..f0dbb94 100644 (file)
@@ -92,7 +92,7 @@ TextureSet RollingImageCache::Frame(uint32_t frameIndex)
     // If the frame of frameIndex was already loaded, load batch from the last frame of queue
     if(!mQueue.IsEmpty())
     {
-      batchFrameIndex = (mQueue.Back().mUrlIndex + 1) % mImageUrls.size();
+      batchFrameIndex = (mQueue.Back().mUrlIndex + 1) % static_cast<uint32_t>(mImageUrls.size());
     }
     LoadBatch(batchFrameIndex);
   }