Re: [Linuxptp-users] ✘Bug. int -> unsigned

2017-10-30 Thread Gary E. Miller
Yo Miroslav! On Mon, 30 Oct 2017 10:25:30 +0100 Miroslav Lichvar wrote: > On Fri, Oct 27, 2017 at 01:25:27PM -0700, Gary E. Miller wrote: > > Yo All! > > > > Small bug in ntpshm.c: > > > > intclockTimeStampNSec; > > intreceiveTimeStampNSec; > > > > Both NTP Classic, an

Re: [Linuxptp-users] ✘Bug. int -> unsigned

2017-10-30 Thread Miroslav Lichvar
On Fri, Oct 27, 2017 at 01:25:27PM -0700, Gary E. Miller wrote: > Yo All! > > Small bug in ntpshm.c: > > intclockTimeStampNSec; > intreceiveTimeStampNSec; > > Both NTP Classic, and NTPsec have changed that the int to unsigned to > avoid an upcoming rollover issue. Hm, wh

[Linuxptp-users] ✘Bug. int -> unsigned

2017-10-27 Thread Gary E. Miller
Yo All! Small bug in ntpshm.c: intclockTimeStampNSec; intreceiveTimeStampNSec; Both NTP Classic, and NTPsec have changed that the int to unsigned to avoid an upcoming rollover issue. This is how it looks in NTPSec: unsignedclockTimeStampNSec; /* Unsi