From 74ea300fe55ae534b52206380fa135f9433e7f2d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 21 Jun 2020 01:44:28 -0400 Subject: [PATCH] CAnimEventData: Make use of size_t where applicable --- src/Core/Resource/Animation/CAnimEventData.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Core/Resource/Animation/CAnimEventData.h b/src/Core/Resource/Animation/CAnimEventData.h index e2ed02d8..4a88a647 100644 --- a/src/Core/Resource/Animation/CAnimEventData.h +++ b/src/Core/Resource/Animation/CAnimEventData.h @@ -43,9 +43,9 @@ public: } } - uint32 NumEvents() const { return mEvents.size(); } - uint32 EventCharacterIndex(uint32 EventIdx) const { return mEvents[EventIdx].mCharacterIndex; } - CAssetID EventAssetRef(uint32 EventIdx) const { return mEvents[EventIdx].mAssetRef; } + size_t NumEvents() const { return mEvents.size(); } + uint32 EventCharacterIndex(size_t EventIdx) const { return mEvents[EventIdx].mCharacterIndex; } + CAssetID EventAssetRef(size_t EventIdx) const { return mEvents[EventIdx].mAssetRef; } void AddEvent(uint32 CharIdx, CAssetID AssetID) { mEvents.push_back(SEvent{CharIdx, AssetID}); } };