Skip to content
Permalink
Browse files
integer instead of size_t for portable .fmt
git-svn-id: svn://tug.org/texlive/trunk/Build/source@57546 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
kberry committed Jan 28, 2021
1 parent 5aabc3f commit 42e871ff0eba7c26bcead6096bce36f332de3339
Showing with 7 additions and 2 deletions.
  1. +5 −0 texk/web2c/pdftexdir/ChangeLog
  2. +2 −2 texk/web2c/pdftexdir/tounicode.c
@@ -1,3 +1,8 @@
2021-01-28 Marcel Fabian Krueger <tex@2krueger.de>

* tounicode.c ((un)dumptounicode): use integer, not size_t,
so .fmt files work across platforms.

2021-01-20 Karl Berry <karl@freefriends.org>

* NEWS: update.
@@ -479,7 +479,7 @@ integer write_tounicode(char **glyph_names, const char *tfmname,
void dumptounicode(void)
{
struct avl_traverser traverse;
size_t count;
integer count;
glyph_unicode_entry *gu;

if (glyph_unicode_tree == NULL) {
@@ -504,7 +504,7 @@ void dumptounicode(void)
void undumptounicode(void)
{
glyph_unicode_entry *tmp;
size_t remaining;
integer remaining;

generic_undump(remaining);

0 comments on commit 42e871f

Please sign in to comment.