diff options
author | delphij <delphij@FreeBSD.org> | 2016-01-08 15:53:48 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-01-08 15:53:48 +0000 |
commit | 31ece5769d393d00720a55b05dd7b3e85c2fcc52 (patch) | |
tree | eb428181ad7f992dbbff39c2be903eaab7149cfb /contrib/ntp/lib/isc/netaddr.c | |
parent | 72bd55ca76570ee190062912e8f0350831baca6f (diff) | |
parent | 8518518f8f222e4d58e27928a988f034b82bbb77 (diff) | |
download | FreeBSD-src-31ece5769d393d00720a55b05dd7b3e85c2fcc52.zip FreeBSD-src-31ece5769d393d00720a55b05dd7b3e85c2fcc52.tar.gz |
MFV r293415:
ntp 4.2.8p5
Reviewed by: cy, roberto
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D4828
Diffstat (limited to 'contrib/ntp/lib/isc/netaddr.c')
-rw-r--r-- | contrib/ntp/lib/isc/netaddr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ntp/lib/isc/netaddr.c b/contrib/ntp/lib/isc/netaddr.c index 457576b..9710466 100644 --- a/contrib/ntp/lib/isc/netaddr.c +++ b/contrib/ntp/lib/isc/netaddr.c @@ -159,7 +159,7 @@ isc_netaddr_totext(const isc_netaddr_t *netaddr, isc_buffer_t *target) { if (r == NULL) return (ISC_R_FAILURE); - alen = strlen(abuf); + alen = (unsigned int)strlen(abuf); /* no overflow possible */ INSIST(alen < sizeof(abuf)); zlen = 0; |