summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/src/cmap.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:30:09 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:30:09 +0000
commitc7373aea6badf4ce6e1bca4a5335b89569d5c8a5 (patch)
treeebdd5fea26edc6f892bd2787737b25970ca00990 /Build/source/texk/xdvipdfmx/src/cmap.c
parent5fc8d99062f93c1d823ef44569549781d4a8e36b (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/cmap.c')
-rw-r--r--Build/source/texk/xdvipdfmx/src/cmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/cmap.c b/Build/source/texk/xdvipdfmx/src/cmap.c
index 2df1917707f..4dbe4b7537f 100644
--- a/Build/source/texk/xdvipdfmx/src/cmap.c
+++ b/Build/source/texk/xdvipdfmx/src/cmap.c
@@ -254,10 +254,11 @@ CMap_decode_char (CMap *cmap,
unsigned char **outbuf, long *outbytesleft)
{
mapDef *t;
- unsigned char *p, c = 0, *save;
+ const unsigned char *p, *save;
+ unsigned char c = 0;
long count = 0;
- p = save = (unsigned char *) *inbuf;
+ p = save = *inbuf;
/*
* First handle some special cases:
*/