Fix normalize_tspec
Gary E. Miller
gem at rellim.com
Sat Mar 11 19:50:03 UTC 2017
Yo Achim!
Nice, thanks.
Commits:
65d89caf by Achim Gratz at 2017-03-11T13:50:59-05:00
Fix normalize_tspec
include/timespecops.h (normalize_tspec):
There are more things in timespecops.h that bother me. Care to take a
crack at this one? It is causing a cumulative 34 warnings, so a good
one to fix next.
../../include/timespecops.h: In function 'lfp_intv_to_tspec':
../../include/ntp_fp.h:146:24: warning: conversion to 'l_fp {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion]
#define L_NEG(v) (v) = (-1 * (int64_t)(v))
^
../../include/timespecops.h:344:3: note: in expansion of macro 'L_NEG'
L_NEG(absx);
^
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170311/25aa2d7b/attachment.html>
-------------- next part --------------
_______________________________________________
vc mailing list
vc at ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/vc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170311/25aa2d7b/attachment.bin>
More information about the devel
mailing list