Change dimension fields in `FTC_ImageTypeRec' to unsigned type.
This doesn't break ABI. * include/ftcache.h (FTC_ImageTypeRec): Use unsigned types for `width' and `height'. * docs/CHANGES: Document it.
This commit is contained in:
parent
3d3523f721
commit
559727d519
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2015-02-25 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
Change dimension fields in `FTC_ImageTypeRec' to unsigned type.
|
||||||
|
|
||||||
|
This doesn't break ABI.
|
||||||
|
|
||||||
|
* include/ftcache.h (FTC_ImageTypeRec): Use unsigned types for
|
||||||
|
`width' and `height'.
|
||||||
|
|
||||||
|
* docs/CHANGES: Document it.
|
||||||
|
|
||||||
2015-02-25 Werner Lemberg <wl@gnu.org>
|
2015-02-25 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[cache] Don't use `labs'.
|
[cache] Don't use `labs'.
|
||||||
|
|
13
docs/CHANGES
13
docs/CHANGES
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
CHANGES BETWEEN 2.5.5 and 2.5.6
|
CHANGES BETWEEN 2.5.5 and 2.6
|
||||||
|
|
||||||
II. IMPORTANT CHANGES
|
II. IMPORTANT CHANGES
|
||||||
|
|
||||||
|
@ -22,6 +22,17 @@ CHANGES BETWEEN 2.5.5 and 2.5.6
|
||||||
used from multiple threads at the same time.
|
used from multiple threads at the same time.
|
||||||
|
|
||||||
|
|
||||||
|
III. MISCELLANEOUS
|
||||||
|
|
||||||
|
- Some fields in the `FTC_ImageTypeRec' structure have been
|
||||||
|
changed from signed to unsigned type, which better reflects the
|
||||||
|
actual usage. It is also an additional means to protect against
|
||||||
|
malformed input.
|
||||||
|
|
||||||
|
This change doesn't break the ABI; however, it might cause
|
||||||
|
compiler warnings.
|
||||||
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
CHANGES BETWEEN 2.5.4 and 2.5.5
|
CHANGES BETWEEN 2.5.4 and 2.5.5
|
||||||
|
|
|
@ -667,8 +667,8 @@ FT_BEGIN_HEADER
|
||||||
typedef struct FTC_ImageTypeRec_
|
typedef struct FTC_ImageTypeRec_
|
||||||
{
|
{
|
||||||
FTC_FaceID face_id;
|
FTC_FaceID face_id;
|
||||||
FT_Int width;
|
FT_UInt width;
|
||||||
FT_Int height;
|
FT_UInt height;
|
||||||
FT_Int32 flags;
|
FT_Int32 flags;
|
||||||
|
|
||||||
} FTC_ImageTypeRec;
|
} FTC_ImageTypeRec;
|
||||||
|
|
Loading…
Reference in New Issue