aboutsummaryrefslogtreecommitdiffstats
path: root/odmr.c
diff options
context:
space:
mode:
Diffstat (limited to 'odmr.c')
-rw-r--r--odmr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/odmr.c b/odmr.c
index e1fce32d..18ef2e63 100644
--- a/odmr.c
+++ b/odmr.c
@@ -80,11 +80,11 @@ static int odmr_getrange(int sock, struct query *ctl, const char *id,
*/
buf[0] = '\0';
for (qnp = ctl->domainlist; qnp; qnp = qnp->next)
- if (strlen(buf) + strlen((const char *)qnp->id) + 1 >= sizeof(buf))
+ if (strlen(buf) + strlen(qnp->id) + 1 >= sizeof(buf))
break;
else
{
- strcat(buf, (const char *)qnp->id);
+ strcat(buf, qnp->id);
strcat(buf, ",");
}
buf[strlen(buf) - 1] = '\0'; /* nuke final comma */