type conversion binds stronger than trinary operator