diff options
-rw-r--r-- | src/jplist.c | 2 |
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) { |