On Mon, Dec 14, 2009 at 03:56:14PM +0100, Joerg Sonnenberger wrote:
 > > -                               } while ((sse * 10 <= TIME_MAX) &&
 > > +                               } while (((uint64_t)(sse * 10) <= 
 > > TIME_MAX) &&
 > > 
 > > Don't you want ((uint64_t)sse * 10 <= TIME_MAX), that is, cast before
 > > multiplying?
 > 
 > The best approach is to not multiply at all, but divide the constant...

heh, indeed...

-- 
David A. Holland
dholl...@netbsd.org

Reply via email to