[haiku-commits] Re: haiku: hrev52029 - in src: add-ons/kernel/bus_managers/acpi kits/interface servers/app kits/debugger/ids kits/debugger/elf

  • From: looncraz <looncraz@xxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 21 Jun 2018 22:31:37 -0500

On 6/21/2018 22:24, waddlesplash wrote:

interface & app_server: Fix missing parentheses near ternary operators.

+ has greater operator precendence than ?, so we need parentheses when
using both in expressions. Both of these look like actual bugs.


Definitely bugs... and I think they were both mine :-(

Spent some time trying to figure out why the scheduled message was sometimes sent right away.  Explains that, methinks ;-)

--The loon

Other related posts: