Fix warning with bridge cast.