Cleanup: remove useless cast.

This commit is contained in:
Bastien Montagne 2020-11-25 11:19:14 +01:00
parent b1533f8fa4
commit 9e77fc533c
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ bPoseChannel *BKE_pose_channel_find_name(const bPose *pose, const char *name)
return BLI_ghash_lookup(pose->chanhash, (const void *)name);
}
return BLI_findstring(&((const bPose *)pose)->chanbase, name, offsetof(bPoseChannel, name));
return BLI_findstring(&pose->chanbase, name, offsetof(bPoseChannel, name));
}
/**