Gary E. Miller via devel <devel@ntpsec.org>: > 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.
It's a good thing the Mac balked. There was a bug in the way I was passing out the computation result. Embarrassing. Fred, do you still get this error with xurrebt head? -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> Please consider contributing to my Patreon page at https://www.patreon.com/esr so I can keep the invisible wheels of the Internet turning. Give generously - the civilization you save might be your own.
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel