Fixed 2 typos around function pointers

I might be wrong, but im doing this mostly because its my first pull-request ever. I am trying to understand how this works.