use isc_uint8_t rather than isc_int8_t for string lengths, and don't call a structure member sa_len

This commit is contained in:
Michael Graff
2000-05-04 23:50:56 +00:00
parent 987effb437
commit 8e3e48ff56
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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 */
+4 -4
View File
@@ -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 */