Casting boolean to int

Do u even need to cast it?