Re: [chrony-dev] Compile warnings on macOS

2016-12-08 Thread Miroslav Lichvar
On Thu, Dec 08, 2016 at 07:53:16PM +1300, Bryan Christianson wrote: > Couple of warnings compiling chrony on macOS after git pull Thanks, I'll fix this. > gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c ntp_core.c > ntp_core.c:1520:21: warning: comparison of unsigned enum expression < 0 is >

[chrony-dev] Compile warnings on macOS

2016-12-07 Thread Bryan Christianson
Couple of warnings compiling chrony on macOS after git pull gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c ntp_core.c ntp_core.c:1520:21: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (sample_rx_tss < 0 || sample_rx_tss >= sizeof (tss_chars)