diff options
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; |