Casting from APawn* to MyCustomCharacter* ? Is this ok?

Thank you very much for this info