Yo Eric! On Thu, 31 Aug 2017 23:35:03 -0400 "Eric S. Raymond via devel" <devel@ntpsec.org> wrote:
> > Expected 3486372600 Was 104913720 Sure looks like integer overflow. > Something about the expression "(int32_t)*yearstart + tmp" is > computing differently under MacOS than elsewhere. Anyone got any > ideas? yearstart is uint32_t, and our expected result will not fir in a uint32_t (3486372600 == 0xCFCDD2F8). So the compiler is not changing uint32_t to int32_t where we need it to. RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can’t measure it, you can’t improve it." - Lord Kelvin
pgpjhSdKyNZWb.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel