summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-02-15 22:26:52 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2013-02-15 22:26:52 +0000
commit9875d754577ff401629b3cd35edadf1fef3408d9 (patch)
treec5c6cdaf91a7d3ec6012e9b83b7acc24bd0e503f
parente75adf0a88365c7a835abccc5988fbabf34e7048 (diff)
Fix 32 Mac build (hopefully)
git-svn-id: svn://tug.org/texlive/trunk@29124 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_ext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
index f0fb9fde1f3..390243a28d6 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
+++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
@@ -2370,7 +2370,7 @@ atsugetfontmetrics(ATSUStyle style, integer* ascent, integer* descent, integer*
doesn't seem to return this value for OT/CFF fonts */
ByteCount tableSize;
if (ATSFontGetTable(fontRef, kPOST, 0, 0, 0, &tableSize) == noErr) {
- POSTTable* post = xmalloc(tableSize);
+ struct POSTTable* post = xmalloc(tableSize);
ATSFontGetTable(fontRef, kPOST, 0, tableSize, post, 0);
*slant = D2Fix(tan(Fix2D( - SWAP32(post->italicAngle)) * M_PI / 180.0));
free(post);
@@ -2426,7 +2426,7 @@ atsufontget(int what, ATSUStyle style)
ByteCount tableSize;
ATSFontRef fontRef = FMGetATSFontRefFromFont(fontID);
if (ATSFontGetTable(fontRef, kMAXP, 0, 0, 0, &tableSize) == noErr) {
- MAXPTable* table = xmalloc(tableSize);
+ struct MAXPTable* table = xmalloc(tableSize);
ATSFontGetTable(fontRef, kMAXP, 0, tableSize, table, 0);
rval = SWAP16(table->numGlyphs);
free(table);