From 91c533af1a906e32eea17eb344f218e45c32a554 Mon Sep 17 00:00:00 2001
From: Nikias Bassen
Date: Thu, 23 Dec 2021 14:13:49 +0100
Subject: jplist: Make strndup argument const to silence compiler warning

---
 src/jplist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {
-- 
cgit v1.1-32-gdbae