mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
(char *) -> (unsigned char *)
This commit is contained in:
parent
1c25cad9bd
commit
10b03beca1
@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rbtdb.c,v 1.229 2006/03/03 03:02:55 marka Exp $ */
|
||||
/* $Id: rbtdb.c,v 1.230 2006/03/03 04:46:14 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@ -5667,7 +5667,7 @@ rdataset_next(dns_rdataset_t *rdataset) {
|
||||
raw += length + 4;
|
||||
rdataset->private5 = raw;
|
||||
} else
|
||||
rdataset->private5 = (char*)rdataset->private5 + 4;
|
||||
rdataset->private5 = (unsigned char *)rdataset->private5 + 4;
|
||||
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
@ -5683,7 +5683,7 @@ rdataset_current(dns_rdataset_t *rdataset, dns_rdata_t *rdata) {
|
||||
if ((rdataset->attributes & DNS_RDATASETATTR_LOADORDER) != 0) {
|
||||
offset = (raw[0] << 24) + (raw[1] << 16) +
|
||||
(raw[2] << 8) + raw[3];
|
||||
raw = (char *)rdataset->private3 + offset;
|
||||
raw = (unsigned char *)rdataset->private3 + offset;
|
||||
}
|
||||
r.length = raw[0] * 256 + raw[1];
|
||||
raw += 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user