Next time highlight the line that the compiler is complaining about (yes, it
does give you a line). Otherwise we have to manually dig through it, like I just did.
Your function is declared as
but your calling it as
You need to pass a char, not a string (i.e. char*). "a" is a string but 'a' is a char.