diff --git a/src/lottie/lottieitem.cpp b/src/lottie/lottieitem.cpp index 711d320b..466d4869 100644 --- a/src/lottie/lottieitem.cpp +++ b/src/lottie/lottieitem.cpp @@ -148,7 +148,7 @@ bool renderer::Composition::update(int frameNo, const VSize &size, } bool renderer::Composition::updatePartial(int frameNo, const VSize &size, - const uint offset) + unsigned int offset) { // check if cached frame is same as requested frame. if ((mViewSize.width() == size.width()) && (mCurFrameNo == frameNo) && diff --git a/src/lottie/lottieitem.h b/src/lottie/lottieitem.h index 98d12ce3..bc7f2e83 100644 --- a/src/lottie/lottieitem.h +++ b/src/lottie/lottieitem.h @@ -191,7 +191,7 @@ class Composition { public: explicit Composition(std::shared_ptr composition); bool update(int frameNo, const VSize &size, bool keepAspectRatio); - bool updatePartial(int frameNo, const VSize &size, uint offset); + bool updatePartial(int frameNo, const VSize &size, unsigned int offset); VSize size() const { return mViewSize; } void buildRenderTree(); const LOTLayerNode *renderTree() const; @@ -209,7 +209,7 @@ class Composition { VArenaAlloc mAllocator{2048}; int mCurFrameNo; bool mKeepAspectRatio{true}; - uint mOffset{0}; + unsigned int mOffset{0}; }; class Layer {