]> git.ipfire.org Git - thirdparty/ntp.git/commit
[Bug 2962] truncation of size_t/ptrdiff_t on 64bit targets
authorJuergen Perlinger <perlinger@ntp.org>
Fri, 13 Nov 2015 21:54:35 +0000 (22:54 +0100)
committerJuergen Perlinger <perlinger@ntp.org>
Fri, 13 Nov 2015 21:54:35 +0000 (22:54 +0100)
commit4cc6c63fb6c7a896e75b3a50cab6f2c2da08c80c
treea8e31aa273feb0209151ec9df6929b4a773cb97b
parente13f9b9305db5382a97d6ea7c8f3f835d7024cad
[Bug 2962] truncation of size_t/ptrdiff_t on 64bit targets
 - fixed several other warnings (cast-alignment, missing const, missing prorotypes)
 - promote use of 'size_t' for values that express a size
 - use ptr-to-const for read-only arguments
 - make sure SOCKET values are not truncated (win32-specific)
 - format string fixes

bk: 56465c1b-lmDibJs_Pk40_ECcAd_YQ
86 files changed:
ChangeLog
include/Makefile.am
include/ntp_refclock.h
include/ntp_stdlib.h
include/ntpd.h
include/safecast.h [new file with mode: 0644]
lib/isc/backtrace.c
lib/isc/buffer.c
lib/isc/inet_aton.c
lib/isc/inet_pton.c
lib/isc/log.c
lib/isc/netaddr.c
lib/isc/sockaddr.c
lib/isc/task.c
lib/isc/win32/interfaceiter.c
lib/isc/win32/net.c
libntp/a_md5encrypt.c
libntp/atolfp.c
libntp/authkeys.c
libntp/authusekey.c
libntp/dolfptoa.c
libntp/hextolfp.c
libntp/mstolfp.c
libntp/msyslog.c
libntp/ntp_crypto_rnd.c
libntp/ntp_lineedit.c
libntp/ntp_worker.c
libntp/snprintf.c
libparse/clk_computime.c
libparse/clk_dcf7000.c
libparse/clk_hopf6021.c
libparse/clk_meinberg.c
libparse/clk_rawdcf.c
libparse/clk_rcc8000.c
libparse/clk_schmid.c
libparse/clk_trimtaip.c
libparse/clk_varitext.c
libparse/clk_wharton.c
libparse/parse.c
ntpd/ntp_control.c
ntpd/ntp_crypto.c
ntpd/ntp_io.c
ntpd/ntp_loopfilter.c
ntpd/ntp_proto.c
ntpd/ntp_refclock.c
ntpd/ntp_request.c
ntpd/ntp_restrict.c
ntpd/ntp_signd.c
ntpd/ntp_timer.c
ntpd/ntp_util.c
ntpd/refclock_parse.c
ntpd/refclock_shm.c
ntpd/refclock_true.c
ntpd/refclock_tsyncpci.c
ntpdate/ntpdate.c
ntpdc/ntpdc.c
ntpdc/ntpdc.h
ntpdc/ntpdc_ops.c
ntpq/libntpq.c
ntpq/libntpq.h
ntpq/libntpq_subs.c
ntpq/ntpq-subs.c
ntpq/ntpq.c
ntpq/ntpq.h
ports/winnt/include/config.h
ports/winnt/include/ntp_iocompletionport.h
ports/winnt/instsrv/instsrv.c
ports/winnt/libntp/termios.c
ports/winnt/ntpd/ntp_iocompletionport.c
ports/winnt/vs2008/common.vsprops
ports/winnt/vs2008/ntpd/ntpd.vcproj
ports/winnt/vs2013/common.props
ports/winnt/vs2013/libntp/libntp.vcxproj
ports/winnt/vs2013/libntp/libntp.vcxproj.filters
ports/winnt/vs2013/ntpd/ntpd.vcxproj
sntp/networking.c
tests/libntp/authkeys.c
tests/ntpd/ntp_restrict.c
tests/ntpd/run-ntp_restrict.c
tests/ntpd/run-t-ntp_signd.c
tests/ntpd/t-ntp_scanner.c
tests/ntpd/t-ntp_signd.c
tests/sandbox/run-uglydate.c
tests/sandbox/uglydate.c
tests/sec-2853/sec-2853.c
util/ntp-keygen.c