On Jan 26 2014 8:22 PM, Jeff Epler wrote: > On Sun, Jan 26, 2014 at 09:07:56PM +0100, Michael Haberler wrote: >> I have a fix which works for me: >> https://github.com/mhaberler/linuxcnc/commit/10924b5509a2d2e38533a9f9e876d139a2cf5d4b >> >> (branch unified-build-candidate-3) > > Good catch. That it may seem obvious in retrospect doesn't detract > from > it. > > - return ts.tv_sec * 1000 * 1000 * 1000 + ts.tv_nsec; > + return ts.tv_sec * 1000000000LL + ts.tv_nsec;
Hmmm... it might be a good idea to write a filter and search for large constants and review them not only for simplifying, but also for appropriate size. EBo -- ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
