can't be used as a function pointer according the the standards. Use a 0 instead and there will be no trouble.