summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-12 02:27:37 +0000
committerKarl Berry <karl@freefriends.org>2021-01-12 02:27:37 +0000
commit0d3b7e203c1f57d98e41e4411c480633b8417f78 (patch)
tree8dd07d30da5af4b9eb67fd06f05165d3359d7756 /Build/source/texk/web2c/pdftexdir
parent73afd43a5a3497cb4fd058867a8d44688e4b4f9d (diff)
unsigned char casts
git-svn-id: svn://tug.org/texlive/trunk@57396 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ttf2afm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ttf2afm.c b/Build/source/texk/web2c/pdftexdir/ttf2afm.c
index e835f3d60e1..d0205030dce 100644
--- a/Build/source/texk/web2c/pdftexdir/ttf2afm.c
+++ b/Build/source/texk/web2c/pdftexdir/ttf2afm.c
@@ -435,13 +435,13 @@ static char *make_name(long platform_id, int len)
if (len >= sizeof(buf))
len = sizeof(buf) - 1;
while (i < len) {
- *p = get_char();
+ *p = (unsigned char) get_char();
i++;
if (*p == 0 && platform_id == 3) {
/* assume this is an UTF-16BE encoded string but contains english
* text, which is the most common case; simply copy the 2nd byte.
* Note: will not work for non-ascii text */
- *p = get_char();
+ *p = (unsigned char) get_char();
i++;
}
p++;