Fix typo of casting to another type.