Do not misuse unsigned long to store pointers.