From 722cc17289e2bacad75cf16a7170485853f66274 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 8 Oct 1999 21:22:27 +0000 Subject: [PATCH] delint: integral size mismatch in call to dns_cert_totext with a 32 bit int passed where a 16 bit is expected. since the variable was retrieved via uint16_fromregion immediately prior to dns_cert_totext, casting the 32 bit to 16 bit (to dns_cert_t) is sufficient. --- lib/dns/rdata/generic/cert_37.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/rdata/generic/cert_37.c b/lib/dns/rdata/generic/cert_37.c index e3b4270392..d1593f1a8e 100644 --- a/lib/dns/rdata/generic/cert_37.c +++ b/lib/dns/rdata/generic/cert_37.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: cert_37.c,v 1.15 1999/09/17 09:22:40 gson Exp $ */ + /* $Id: cert_37.c,v 1.16 1999/10/08 21:22:27 tale Exp $ */ /* draft-ietf-dnssec-certs-04.txt */ @@ -76,7 +76,7 @@ totext_cert(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, /* type */ n = uint16_fromregion(&sr); isc_region_consume(&sr, 2); - RETERR(dns_cert_totext(n, target)); + RETERR(dns_cert_totext((dns_cert_t)n, target)); RETERR(str_totext(" ", target)); /* key tag */