[psaux] Fix location and type order in initializer
`T1_FIELD_ZERO` is used to zero initialize a `T1_FieldRec`. `T1_FIELD_ZERO` is currently initilizing `T1_FieldRec::location` with a `T1_FieldType` and `T1_FieldRec::type` with a `T1_FieldLocation`. This was detected with `-Wenum-conversion`. * include/freetype/internal/psaux.h (T1_FIELD_ZERO): correct order of initalizers
This commit is contained in:
parent
1264b84c08
commit
a46424228f
|
@ -363,7 +363,7 @@ FT_BEGIN_HEADER
|
|||
#define T1_FIELD_ZERO \
|
||||
{ \
|
||||
0, \
|
||||
NULL, T1_FIELD_TYPE_NONE, T1_FIELD_LOCATION_NONE, \
|
||||
NULL, T1_FIELD_LOCATION_NONE, T1_FIELD_TYPE_NONE, \
|
||||
NULL, 0, 0, 0, 0, 0 \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue