From 9063b16d36e54fece0fbeefc1dcfe27a564c78e5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 16 Mar 2020 19:16:43 -0400 Subject: [PATCH] CGrappleArm: Convert reinterpret_cast to static_cast in PointGenerator() It's permissible to use static_cast when converting from void* to another type. --- Runtime/Weapon/CGrappleArm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Weapon/CGrappleArm.cpp b/Runtime/Weapon/CGrappleArm.cpp index 6bf96a8b5..1b192ba7c 100644 --- a/Runtime/Weapon/CGrappleArm.cpp +++ b/Runtime/Weapon/CGrappleArm.cpp @@ -487,7 +487,7 @@ void CGrappleArm::RenderXRayModel(const CStateManager& mgr, const zeus::CTransfo } void CGrappleArm::PointGenerator(void* ctx, const std::vector>& vn) { - reinterpret_cast(ctx)->GeneratePoints(vn); + static_cast(ctx)->GeneratePoints(vn); } void CGrappleArm::Render(const CStateManager& mgr, const zeus::CVector3f& pos, const CModelFlags& flags,