Fix missing cast.