*/
buf[0] = '\0';
for (qnp = ctl->domainlist; qnp; qnp = qnp->next)
- if (strlen(buf) + strlen(qnp->id) + 1 >= sizeof(buf))
+ if (strlen(buf) + strlen((const char *)qnp->id) + 1 >= sizeof(buf))
break;
else
{
- strcat(buf, qnp->id);
+ strcat(buf, (const char *)qnp->id);
strcat(buf, ",");
}
buf[strlen(buf) - 1] = '\0'; /* nuke final comma */