Ah, because...
Code:
typedef long function;


This seems to work correctly:
Code:
enterLong((function)tmfCallback);


Thanks!