diff options
Diffstat (limited to 'lib/dns/rdata/generic/mx_15.c')
-rw-r--r-- | lib/dns/rdata/generic/mx_15.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dns/rdata/generic/mx_15.c b/lib/dns/rdata/generic/mx_15.c index 5be0a3ae..704cb124 100644 --- a/lib/dns/rdata/generic/mx_15.c +++ b/lib/dns/rdata/generic/mx_15.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: mx_15.c,v 1.48 2001/07/16 03:06:19 marka Exp $ */ +/* $Id: mx_15.c,v 1.48.2.1 2003/07/23 06:57:51 marka Exp $ */ /* reviewed: Wed Mar 15 18:05:46 PST 2000 by brister */ @@ -38,7 +38,7 @@ fromtext_mx(ARGS_FROMTEXT) { RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number, ISC_FALSE)); - if (token.value.as_ulong > 0xffff) + if (token.value.as_ulong > 0xffffU) RETTOK(ISC_R_RANGE); RETERR(uint16_tobuffer(token.value.as_ulong, target)); |