Commit 077d9d28 authored by Evan Hunt's avatar Evan Hunt

[master] cast char *

parent 9b729a06
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment