From: Danny Mayer Date: Thu, 1 Aug 2002 03:28:01 +0000 (+0000) Subject: Port needed cast to isc_uint16_t as it is a 16 bit quantity X-Git-Tag: v9.2.3rc1~104^2~434 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=8ef03ac2743f73f7ce3c92d739c64d31387abb45;p=thirdparty%2Fbind9.git Port needed cast to isc_uint16_t as it is a 16 bit quantity --- diff --git a/bin/dig/nslookup.c b/bin/dig/nslookup.c index a9bd5c9b78e..0ba161a68cf 100644 --- a/bin/dig/nslookup.c +++ b/bin/dig/nslookup.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: nslookup.c,v 1.97 2002/07/25 05:46:07 marka Exp $ */ +/* $Id: nslookup.c,v 1.98 2002/08/01 03:28:01 mayer Exp $ */ #include @@ -539,7 +539,7 @@ set_port(const char *value) { isc_uint32_t n; isc_result_t result = parse_uint(&n, value, 65535, "port"); if (result == ISC_R_SUCCESS) - port = n; + port = (isc_uint16_t) n; } static void