summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-12 02:26:45 +0000
committerKarl Berry <karl@freefriends.org>2021-01-12 02:26:45 +0000
commit73afd43a5a3497cb4fd058867a8d44688e4b4f9d (patch)
treede99b027015d673b58e2496171f9e268dd56e9e2 /Build/source/texk/web2c/pdftexdir
parent7bf3c9b74c3b54a1cf7a46518a5569b4be97557d (diff)
unsigned char
git-svn-id: svn://tug.org/texlive/trunk@57395 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/pdftexdir/ttf2afm.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index 8bffd71a72b..8fb078ee65b 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,7 @@
+2021-01-11 Karl Berry <karl@freefriends.org>
+
+ * ttf2afm.c (make_name): better to use unsigned char.
+
2021-01-10 Karl Berry <karl@freefriends.org>
* ttf2afm.c (make_name): go back to copying all characters
diff --git a/Build/source/texk/web2c/pdftexdir/ttf2afm.c b/Build/source/texk/web2c/pdftexdir/ttf2afm.c
index 41b820ecf3b..e835f3d60e1 100644
--- a/Build/source/texk/web2c/pdftexdir/ttf2afm.c
+++ b/Build/source/texk/web2c/pdftexdir/ttf2afm.c
@@ -428,8 +428,8 @@ static void read_cmap(void)
static char *make_name(long platform_id, int len)
{
- char buf[1024];
- char *p = buf;
+ unsigned char buf[1024];
+ unsigned char *p = buf;
int i = 0;
if (len >= sizeof(buf))