aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2024-05-07 23:35:59 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2024-05-07 23:35:59 -0400
commit1264b84c08a31d11303fe3781444f6f026ea60b8 (patch)
treee529b80270f5159e649cc1de4c40f6cf7190c92f
parent5858fa16cace81fb7b3de7600cb765a820348bed (diff)
downloadfreetype-1264b84c08a31d11303fe3781444f6f026ea60b8.tar.gz
* include/freetype/internal/psaux.h: Fix g++ warning.
Reported by Hin-Tak Leung.
-rw-r--r--include/freetype/internal/psaux.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/freetype/internal/psaux.h b/include/freetype/internal/psaux.h
index 41f481d5a..fffa103ca 100644
--- a/include/freetype/internal/psaux.h
+++ b/include/freetype/internal/psaux.h
@@ -225,6 +225,7 @@ FT_BEGIN_HEADER
typedef enum T1_FieldLocation_
{
+ T1_FIELD_LOCATION_NONE = 0,
T1_FIELD_LOCATION_CID_INFO,
T1_FIELD_LOCATION_FONT_DICT,
T1_FIELD_LOCATION_FONT_EXTRA,
@@ -359,7 +360,12 @@ FT_BEGIN_HEADER
#define T1_FIELD_CALLBACK( _ident, _name, _dict ) \
T1_NEW_CALLBACK_FIELD( _ident, _name, _dict )
-#define T1_FIELD_ZERO { 0, NULL, 0, 0, NULL, 0, 0, 0, 0, 0 }
+#define T1_FIELD_ZERO \
+ { \
+ 0, \
+ NULL, T1_FIELD_TYPE_NONE, T1_FIELD_LOCATION_NONE, \
+ NULL, 0, 0, 0, 0, 0 \
+ }
/*************************************************************************/