One could note that the C standard doesn't allow you to store a function pointer into an intptr_t. It seems that most people don't care.