Fixed function pointer casting.