From 671b8037b9fff0dc8e6f503b3e5f4d0d5a92a071 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 18 Jun 2020 07:27:56 -0400 Subject: [PATCH] CSkeleton: Make NumBones() return a size_t Consistent with the rest of the API. --- src/Core/Resource/Animation/CSkeleton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Resource/Animation/CSkeleton.h b/src/Core/Resource/Animation/CSkeleton.h index d828583c..43635f23 100644 --- a/src/Core/Resource/Animation/CSkeleton.h +++ b/src/Core/Resource/Animation/CSkeleton.h @@ -43,7 +43,7 @@ public: void Draw(FRenderOptions Options, const CBoneTransformData *pkData); std::pair RayIntersect(const CRay& rkRay, const CBoneTransformData& rkData) const; - uint32 NumBones() const { return mBones.size(); } + size_t NumBones() const { return mBones.size(); } CBone* RootBone() const { return mpRootBone; } };