summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 677861f..70525d6 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -43,7 +43,7 @@ static unsigned char *bufdup(const unsigned char *buf)
if (buf) {
int len = strlen((char *)buf);
- new = calloc(len + 1, sizeof(*new));
+ new = (unsigned char *)calloc(len + 1, sizeof(*new));
if(new != NULL) {
memcpy(new, buf, len + 1);
}