It would seem that int * is not compatible with "integer *". What is "integer" defined as? It's not a C type, so it presumably has been typedef'd elsewhere.