Correcting a symbol lookup error caused by incorrect function type.