Casting boolean to int

Apart from experimentation, why would you want to do this?