summaryrefslogtreecommitdiffstats
path: root/src/jplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jplist.c')
-rw-r--r--src/jplist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jplist.c b/src/jplist.c
index 218d75a..fbc963e 100644
--- a/src/jplist.c
+++ b/src/jplist.c
@@ -66,7 +66,7 @@ void plist_json_deinit(void)
66} 66}
67 67
68#ifndef HAVE_STRNDUP 68#ifndef HAVE_STRNDUP
69static char* strndup(char* str, size_t len) 69static char* strndup(const char* str, size_t len)
70{ 70{
71 char *newstr = (char *)malloc(len+1); 71 char *newstr = (char *)malloc(len+1);
72 if (newstr) { 72 if (newstr) {