summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 0a8a44e10..9df62c70e 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -1650,7 +1650,7 @@ int read_petdb()
pet_db[j].script = NULL;
if((np=strchr(p,'{'))==NULL)
continue;
- pet_db[j].script = parse_script(np,lines);
+ pet_db[j].script = parse_script((unsigned char *) np,lines);
j++;
}
fclose(fp);