diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-11-10 10:30:09 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-11-10 10:30:09 +0000 |
commit | c7373aea6badf4ce6e1bca4a5335b89569d5c8a5 (patch) | |
tree | ebdd5fea26edc6f892bd2787737b25970ca00990 /Build/source/texk/xdvipdfmx/src/spc_xtx.c | |
parent | 5fc8d99062f93c1d823ef44569549781d4a8e36b (diff) |
towards TL2010: texk/xdvipdfmx
git-svn-id: svn://tug.org/texlive/trunk@15971 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/spc_xtx.c')
-rw-r--r-- | Build/source/texk/xdvipdfmx/src/spc_xtx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/spc_xtx.c b/Build/source/texk/xdvipdfmx/src/spc_xtx.c index 99c359372e7..7683c5bee35 100644 --- a/Build/source/texk/xdvipdfmx/src/spc_xtx.c +++ b/Build/source/texk/xdvipdfmx/src/spc_xtx.c @@ -429,9 +429,9 @@ int spc_xtx_check_special (const char *buf, long len) { int r = 0; - char *p, *endptr; + const char *p, *endptr; - p = (char *) buf; + p = buf; endptr = p + len; skip_white(&p, endptr); @@ -466,8 +466,8 @@ spc_xtx_setup_handler (struct spc_handler *sph, for (i = 0; i < sizeof(xtx_handlers) / sizeof(struct spc_handler); i++) { if (!strcmp(q, xtx_handlers[i].key)) { - ap->command = (char *) xtx_handlers[i].key; - sph->key = (char *) "x:"; + ap->command = xtx_handlers[i].key; + sph->key = "x:"; sph->exec = xtx_handlers[i].exec; skip_white(&ap->curptr, ap->endptr); error = 0; |