Basic Casting

As @anonymous_user_f61a7ed1 told you, that warning indicates that you can pass the reference directly
I found this link that explains pretty well how to use the event dispatchers, it may help you in the future!

Event Dispatchers explained - Finally! - Blueprint Visual Scripting - Unreal Engine Forums!