Function not being called (noob question)

Danois90:
You are combining signed (int) and unsigned (uint16_t) types, this may cause problems. Please fix your "typeKey" function as mentioned above.

Can you tell me where I'm combining these 2 types?

thanks