Casting boolean to int

GoForSmoke:
On some chips/systems, TRUE is all bits set. Then the answer would be 3.

The C++ standard guarentees true to be cast to a 1.