Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Ryl669 committed Dec 16, 2021
1 parent f07990f commit 8199f69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lottie/lottieitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down
4 changes: 2 additions & 2 deletions src/lottie/lottieitem.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class Composition {
public:
explicit Composition(std::shared_ptr<model::Composition> 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;
Expand All @@ -209,7 +209,7 @@ class Composition {
VArenaAlloc mAllocator{2048};
int mCurFrameNo;
bool mKeepAspectRatio{true};
uint mOffset{0};
unsigned int mOffset{0};
};

class Layer {
Expand Down

0 comments on commit 8199f69

Please sign in to comment.