freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] * include/freetype/internal/psaux.h: Fi


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * include/freetype/internal/psaux.h: Fix g++ warning.
Date: Wed, 08 May 2024 03:38:20 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 1264b84c
    by Alexei Podtelezhnikov (Алексей Подтележников) at 2024-05-07T23:35:59-04:00
    * include/freetype/internal/psaux.h: Fix g++ warning.
    
    Reported by Hin-Tak Leung.
    

1 changed file:

Changes:

  • include/freetype/internal/psaux.h
    ... ... @@ -225,6 +225,7 @@ FT_BEGIN_HEADER
    225 225
     
    
    226 226
       typedef enum  T1_FieldLocation_
    
    227 227
       {
    
    228
    +    T1_FIELD_LOCATION_NONE = 0,
    
    228 229
         T1_FIELD_LOCATION_CID_INFO,
    
    229 230
         T1_FIELD_LOCATION_FONT_DICT,
    
    230 231
         T1_FIELD_LOCATION_FONT_EXTRA,
    
    ... ... @@ -359,7 +360,12 @@ FT_BEGIN_HEADER
    359 360
     #define T1_FIELD_CALLBACK( _ident, _name, _dict )       \
    
    360 361
               T1_NEW_CALLBACK_FIELD( _ident, _name, _dict )
    
    361 362
     
    
    362
    -#define T1_FIELD_ZERO  { 0, NULL, 0, 0, NULL, 0, 0, 0, 0, 0 }
    
    363
    +#define T1_FIELD_ZERO                                         \
    
    364
    +          {                                                   \
    
    365
    +            0,                                                \
    
    366
    +            NULL, T1_FIELD_TYPE_NONE, T1_FIELD_LOCATION_NONE, \
    
    367
    +            NULL, 0, 0, 0, 0, 0                               \
    
    368
    +          }
    
    363 369
     
    
    364 370
     
    
    365 371
       /*************************************************************************/
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]