diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2024-05-07 23:35:59 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2024-05-07 23:35:59 -0400 |
commit | 1264b84c08a31d11303fe3781444f6f026ea60b8 (patch) | |
tree | e529b80270f5159e649cc1de4c40f6cf7190c92f | |
parent | 5858fa16cace81fb7b3de7600cb765a820348bed (diff) | |
download | freetype-1264b84c08a31d11303fe3781444f6f026ea60b8.tar.gz |
* include/freetype/internal/psaux.h: Fix g++ warning.
Reported by Hin-Tak Leung.
-rw-r--r-- | include/freetype/internal/psaux.h | 8 |
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 \ + } /*************************************************************************/ |