diff options
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/cmap_write.c')
-rw-r--r-- | Build/source/texk/xdvipdfmx/src/cmap_write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/cmap_write.c b/Build/source/texk/xdvipdfmx/src/cmap_write.c index eb900512a11..b6c834993d2 100644 --- a/Build/source/texk/xdvipdfmx/src/cmap_write.c +++ b/Build/source/texk/xdvipdfmx/src/cmap_write.c @@ -201,13 +201,13 @@ write_map (mapDef *mtab, int count, *(wbuf->curptr)++ = '<'; for (j = 0; j < depth; j++) sputx(codestr[j], &(wbuf->curptr), wbuf->limptr); - sputx(c, &(wbuf->curptr), wbuf->limptr); + sputx((unsigned char)c, &(wbuf->curptr), wbuf->limptr); *(wbuf->curptr)++ = '>'; *(wbuf->curptr)++ = ' '; *(wbuf->curptr)++ = '<'; for (j = 0; j < depth; j++) sputx(codestr[j], &(wbuf->curptr), wbuf->limptr); - sputx(c + blocks[i].count, &(wbuf->curptr), wbuf->limptr); + sputx((unsigned char)(c + blocks[i].count), &(wbuf->curptr), wbuf->limptr); *(wbuf->curptr)++ = '>'; *(wbuf->curptr)++ = ' '; *(wbuf->curptr)++ = '<'; |