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:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user