summaryrefslogtreecommitdiff
path: root/dynstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'dynstr.c')
-rw-r--r--dynstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dynstr.c b/dynstr.c
index d4ae012..e5f6878 100644
--- a/dynstr.c
+++ b/dynstr.c
@@ -446,7 +446,7 @@ static Dynstr *readline_helper(int (*callback)(FILE *, int), FILE *f, int fd)
temp1 = dynstr_new_from_memory(buf, buflen);
if (temp1 == NULL)
goto error;
- temp2 = dynstr_cat(line, temp1, NULL);
+ temp2 = dynstr_cat(line, temp1, (void *) NULL);
if (temp2 == NULL)
goto error;
dynstr_free(temp1);
@@ -463,7 +463,7 @@ static Dynstr *readline_helper(int (*callback)(FILE *, int), FILE *f, int fd)
temp1 = dynstr_new_from_memory(buf, buflen);
if (temp1 == NULL)
goto error;
- temp2 = dynstr_cat(line, temp1, NULL);
+ temp2 = dynstr_cat(line, temp1, (void *) NULL);
if (temp2 == NULL)
goto error;
dynstr_free(temp1);