freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] * include/freetype/fttypes.h (FT_MAKE_T


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * include/freetype/fttypes.h (FT_MAKE_TAG): Remove the same casting.
Date: Sat, 20 Nov 2021 12:06:14 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • include/freetype/fttypes.h
    ... ... @@ -485,13 +485,11 @@ FT_BEGIN_HEADER
    485 485
        *   The produced values **must** be 32-bit integers.  Don't redefine this
    
    486 486
        *   macro.
    
    487 487
        */
    
    488
    -#define FT_MAKE_TAG( _x1, _x2, _x3, _x4 )                      \
    
    489
    -          FT_STATIC_CAST(                                      \
    
    490
    -            FT_Tag,                                            \
    
    491
    -            ( ( FT_STATIC_BYTE_CAST( FT_Tag, _x1 ) << 24 ) |   \
    
    492
    -              ( FT_STATIC_BYTE_CAST( FT_Tag, _x2 ) << 16 ) |   \
    
    493
    -              ( FT_STATIC_BYTE_CAST( FT_Tag, _x3 ) <<  8 ) |   \
    
    494
    -                FT_STATIC_BYTE_CAST( FT_Tag, _x4 )         ) )
    
    488
    +#define FT_MAKE_TAG( _x1, _x2, _x3, _x4 )                  \
    
    489
    +          ( ( FT_STATIC_BYTE_CAST( FT_Tag, _x1 ) << 24 ) | \
    
    490
    +            ( FT_STATIC_BYTE_CAST( FT_Tag, _x2 ) << 16 ) | \
    
    491
    +            ( FT_STATIC_BYTE_CAST( FT_Tag, _x3 ) <<  8 ) | \
    
    492
    +              FT_STATIC_BYTE_CAST( FT_Tag, _x4 )         )
    
    495 493
     
    
    496 494
     
    
    497 495
       /*************************************************************************/
    


  • reply via email to

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