mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
[master] cast char *
This commit is contained in:
parent
9b729a06b0
commit
077d9d2838
@ -1388,7 +1388,7 @@ dns_zone_getdbtype(dns_zone_t *zone, char ***argv, isc_mem_t *mctx) {
|
||||
tmp2 = mem;
|
||||
tmp2 += (zone->db_argc + 1) * sizeof(char *);
|
||||
for (i = 0; i < zone->db_argc; i++) {
|
||||
remaining = (size_t)(mem - tmp2);
|
||||
remaining = size - (tmp2 - (char *) mem);
|
||||
*tmp++ = tmp2;
|
||||
strlcpy(tmp2, zone->db_argv[i], remaining);
|
||||
tmp2 += strlen(tmp2) + 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user