summaryrefslogtreecommitdiffstats
path: root/src/stringlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stringlist.c')
-rw-r--r--src/stringlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stringlist.c b/src/stringlist.c
index 96762a1..82cd5a8 100644
--- a/src/stringlist.c
+++ b/src/stringlist.c
@@ -15,7 +15,7 @@ StringList* stringListCreate(size_t len)
return ret;
}
-int stringListInsertAt(StringList *l, unsigned int pos, char *str)
+int stringListInsertAt(StringList *l, unsigned int pos, const char *str)
{
if(!l || !l->list || l->count < pos)
return 0;