Unclear as to what the Error Message means.

Did you write that function? Why does it take a pointer? A pointer to what?