summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttf2pk/tfmaux.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ttf2pk/tfmaux.c')
-rw-r--r--Build/source/texk/ttf2pk/tfmaux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/ttf2pk/tfmaux.c b/Build/source/texk/ttf2pk/tfmaux.c
index fb379e2b07c..d0fe18cf14a 100644
--- a/Build/source/texk/ttf2pk/tfmaux.c
+++ b/Build/source/texk/ttf2pk/tfmaux.c
@@ -367,7 +367,7 @@ buildtfm(Font *fnt)
oops("No TTF characters.");
}
- header = (long *)mymalloc(40000L);
+ header = (long *)mycalloc(40000L, sizeof(char));
fnt->cksum = checksum(fnt->inencptrs);
header[0] = fnt->cksum;
header[1] = 0xA00000; /* 10pt design size */