I'm on xCode 3.1.2 trying to build my project but I can't seem to get rid of a warning on arg 4 of cpSpaceAddCollisionPairFunc, where you pass the collision function. It works fine but I am fussy about clean builds so I want to make the warning go away.
I have tried it with and without the & and using int and cpCollFunc as the return type for my function. What am I doing wrong?
edit: the warning is incompatible pointer type.