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)
}
#ifndef HAVE_STRNDUP
-static char* strndup(char* str, size_t len)
+static char* strndup(const char* str, size_t len)
{
char *newstr = (char *)malloc(len+1);
if (newstr) {