compiler warnings on armhf/mips64
On debian 7 armhf, gcc 4.6.3:
[ 43/101] Compiling libntp/ntp_calendar.c
../../libntp/ntp_calendar.c: In function ‘time_to_time64_t’:
../../libntp/ntp_calendar.c:67:2: warning: left shift count >= width of type [enabled by default]
../../libntp/ntp_calendar.c:67:2: warning: ‘res’ is used uninitialized in this function [-Wuninitialized]
[141/165] Compiling tests/libntp/vi64ops.c
../../tests/libntp/vi64ops.c: In function ‘TEST_vi64ops_HiLoVUI64uh_’:
../../tests/libntp/vi64ops.c:16:2: warning: left shift count >= width of type [enabled by default]
../../tests/libntp/vi64ops.c: In function ‘TEST_vi64ops_HiLoVUI64ul_’:
../../tests/libntp/vi64ops.c:24:2: warning: left shift count >= width of type [enabled by default]
Same warnings on mips64.
build/config.h has:
$ grep SIZEOF build/config.h
#define NTP_SIZEOF_INT 4 /* Size of int from <None> */
#define NTP_SIZEOF_LONG 4 /* Size of long from <None> */
#define NTP_SIZEOF_LONG_LONG 8 /* Size of long long from <None> */
#define NTP_SIZEOF_TIME_T 4 /* Size of time_t from <time.h> */