summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/src/otl_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/otl_conf.c')
-rw-r--r--Build/source/texk/xdvipdfmx/src/otl_conf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/otl_conf.c b/Build/source/texk/xdvipdfmx/src/otl_conf.c
index 4db9e5b01c1..cffbe505645 100644
--- a/Build/source/texk/xdvipdfmx/src/otl_conf.c
+++ b/Build/source/texk/xdvipdfmx/src/otl_conf.c
@@ -461,6 +461,7 @@ otl_read_conf (const char *conf_name)
pdf_obj *gclass;
FILE *fp;
char *filename, *wbuf, *p, *endptr;
+ const char *pp;
long size, len;
filename = NEW(strlen(conf_name)+strlen(".otl")+1, char);
@@ -493,9 +494,9 @@ otl_read_conf (const char *conf_name)
size -= len;
}
- p = wbuf;
+ pp = wbuf;
gclass = pdf_new_dict();
- rule = parse_block(gclass, (const char **) &p, endptr);
+ rule = parse_block(gclass, &pp, endptr);
pdf_release_obj(gclass);
RELEASE(wbuf);