From 8e3e48ff56310a707dc93be31eb08311b2b12dbd Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Thu, 4 May 2000 23:50:56 +0000 Subject: [PATCH] use isc_uint8_t rather than isc_int8_t for string lengths, and don't call a structure member sa_len --- lib/dns/rdata/generic/hinfo_13.h | 6 +++--- lib/dns/rdata/generic/isdn_20.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/dns/rdata/generic/hinfo_13.h b/lib/dns/rdata/generic/hinfo_13.h index 73f9d8319b..2724ee6d77 100644 --- a/lib/dns/rdata/generic/hinfo_13.h +++ b/lib/dns/rdata/generic/hinfo_13.h @@ -18,15 +18,15 @@ #ifndef GENERIC_HINFO_13_H #define GENERIC_HINFO_13_H 1 -/* $Id: hinfo_13.h,v 1.17 2000/04/29 02:01:37 tale Exp $ */ +/* $Id: hinfo_13.h,v 1.18 2000/05/04 23:50:55 explorer Exp $ */ typedef struct dns_rdata_hinfo { dns_rdatacommon_t common; isc_mem_t *mctx; char *cpu; char *os; - isc_int8_t cpu_len; - isc_int8_t os_len; + isc_uint8_t cpu_len; + isc_uint8_t os_len; } dns_rdata_hinfo_t; #endif /* GENERIC_HINFO_13_H */ diff --git a/lib/dns/rdata/generic/isdn_20.h b/lib/dns/rdata/generic/isdn_20.h index b47428b2a7..42fc75c45d 100644 --- a/lib/dns/rdata/generic/isdn_20.h +++ b/lib/dns/rdata/generic/isdn_20.h @@ -18,7 +18,7 @@ #ifndef GENERIC_ISDN_20_H #define GENERIC_ISDN_20_H 1 -/* $Id: isdn_20.h,v 1.9 2000/04/29 02:01:38 tale Exp $ */ +/* $Id: isdn_20.h,v 1.10 2000/05/04 23:50:56 explorer Exp $ */ /* RFC 1183 */ @@ -26,9 +26,9 @@ typedef struct dns_rdata_isdn { dns_rdatacommon_t common; isc_mem_t *mctx; char *isdn; - char *sa; - isc_int8_t isdn_len; - isc_int8_t sa_len; + char *subaddress; + isc_uint8_t isdn_len; + isc_uint8_t subaddress_len; } dns_rdata_isdn_t; #endif /* GENERIC_ISDN_20_H */