Can't cast to the same class?

I’m doing a tutorial for my class, and it’s trying to cast the OtherActor from an OnOverlapBegin function to my player character class, but it’s giving me this error and won’t build. Anyone know why?