summaryrefslogtreecommitdiff
path: root/src/common/strlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/strlib.c')
-rw-r--r--src/common/strlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c
index 440a07742..ee37cb9ae 100644
--- a/src/common/strlib.c
+++ b/src/common/strlib.c
@@ -43,7 +43,7 @@ char* jstrescape (char* pt) {
return &pt[0];
}
-char* jstrescapecpy (char* pt,char* spt) {
+char* jstrescapecpy (char* pt, const char* spt) {
//copy from here
//WARNING: Target string pt should be able to hold strlen(spt)*2, as each time
//a escape character is found, the target's final length increases! [Skotlex]