Hrvoje Niksic wrote:

> The cast to int looks like someone was trying to remove a warning and
> botched operator precedence in the process.

I can't see any good reason to use "," here. Why not write the line as:
      eta_hrs = eta / 3600; eta %= 3600;

This makes it much less likely that someone will make a coding error while
editing that section of code.

Tony

Reply via email to