Attempt to placate compilers that warn on casts between pointer-to-object and
pointer-to-function types.