lfpinit() signed or unsigned?
Eric S. Raymond
esr at thyrsus.com
Thu Mar 9 21:25:38 UTC 2017
Hal Murray <hmurray at megapathdsl.net>:
> Do any of the casts actually change any bits?
I believe not.
> What I was trying to suggest is that another layer of macros might eliminate
> a batch of casts.
Well, maybe. I didn't find a way to do that. It's possible I wasn't clever
enough.
> Do any of the RFCs discuss the sign of the time stamps?
I believe the RFC intention is that they should be unsigned offsets from
an epoch date, and the signed case only arises as a result of interval
calculations internal to ntpd.
--
<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.
More information about the devel
mailing list