diff --git a/es-core/src/components/LottieComponent.cpp b/es-core/src/components/LottieComponent.cpp index 4b5a9d5d8..488cc9c60 100644 --- a/es-core/src/components/LottieComponent.cpp +++ b/es-core/src/components/LottieComponent.cpp @@ -152,7 +152,8 @@ void LottieComponent::render(const glm::mat4& parentTrans) glm::mat4 trans{parentTrans * getTransform()}; - mTexture->initFromPixels(&mBuffer2.at(mLastDisplayedFrame).at(0), mSize.x, mSize.y); + mTexture->initFromPixels(&mBuffer2.at(mLastDisplayedFrame).at(0), static_cast(mSize.x), + static_cast(mSize.y)); mTexture->bind(); if (!mSkipFrame) @@ -181,4 +182,4 @@ void LottieComponent::render(const glm::mat4& parentTrans) .count() << " ms"; } -}; +}