summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir
diff options
context:
space:
mode:
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))