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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c
index ca6e38761..64c8e154f 100644
--- a/src/common/strlib.c
+++ b/src/common/strlib.c
@@ -10,12 +10,12 @@
// string lib.
char* jstrescape (char* pt) {
//copy from here
- unsigned char * ptr;
+ char *ptr;
int i =0, j=0;
//copy string to temporary
CREATE_A(ptr, char, J_MAX_MALLOC_SIZE);
- strcpy (ptr,pt);
+ strcpy(ptr,pt);
while (ptr[i] != '\0') {
switch (ptr[i]) {