Fix a type in recursive function call.