A function parameter has been defined as a reference type and was accessed as a primitive type.
Change the code and remove the access to the reference type parameter.