Improve syntax of a type cast.