Simplify macro typecasting.