From 1264b84c08a31d11303fe3781444f6f026ea60b8 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Tue, 7 May 2024 23:35:59 -0400 Subject: [PATCH] * include/freetype/internal/psaux.h: Fix g++ warning. Reported by Hin-Tak Leung. --- include/freetype/internal/psaux.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 \ + } /*************************************************************************/