Thomas Braby <[EMAIL PROTECTED]> writes: >> eta_hrs = (int) (eta / 3600), eta %= 3600; > > Yes that also works. The cast is needed on Windows x64 because eta is > a wgint (which is 64-bit) but a regular int is 32-bit so otherwise a > warning is issued.
The same is the case on 32-bit Windows, and also on Linux. I don't see the value in that warning. Maybe we can disable it with a compiler flag? > Oh well. Perhaps it would be better changed to use a semicolon for > clarity anyway? Note that, without the cast, both semicolon and comma work equally well.