mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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.
This commit is contained in:
parent
949d406b57
commit
722cc17289
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue