summaryrefslogtreecommitdiff
path: root/src/sfnt/ttpost.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2008-07-16 21:03:40 +0000
committerWerner Lemberg <wl@gnu.org>2008-07-16 21:03:40 +0000
commit50997cd742824a1e2c610d4254cbfa446621a736 (patch)
tree71020f1844ee97642063ee8190eabfdc1e93cb73 /src/sfnt/ttpost.c
parentbd48d35bf86c6635634ab1f13e742fb16633ac4d (diff)
* src/pfr/pfrdrivr.c (pfr_get_advance): Fix off-by-one error.
* src/base/ftcalc.c (FT_MulFix): Fix portability issue. * src/sfnt/ttpost.c (MAC_NAME) [!FT_CONFIG_OPTION_POSTSCRIPT_NAMES]: Fix compiler warning.
Diffstat (limited to 'src/sfnt/ttpost.c')
-rw-r--r--src/sfnt/ttpost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sfnt/ttpost.c b/src/sfnt/ttpost.c
index 1e616364..eebebdba 100644
--- a/src/sfnt/ttpost.c
+++ b/src/sfnt/ttpost.c
@@ -5,7 +5,7 @@
/* Postcript name table processing for TrueType and OpenType fonts */
/* (body). */
/* */
-/* Copyright 1996-2001, 2002, 2003, 2006, 2007 by */
+/* Copyright 1996-2001, 2002, 2003, 2006, 2007, 2008 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -62,7 +62,7 @@
/* table of Mac names. Thus, it is possible to build a version of */
/* FreeType without the Type 1 driver & PSNames module. */
-#define MAC_NAME( x ) tt_post_default_names[x]
+#define MAC_NAME( x ) ( (FT_String*)tt_post_default_names[x] )
/* the 258 default Mac PS glyph names */