3ee7e97fcc
cast one of them before assigning to a common function pointer. Yes, this breaks strict type checking, but is needed to compile with -Wcast-qual turned on.