Really fix compiler warnings.

Reported by Sean.

* src/truetype/ttgxvar.c (GX_PT_POINTS_ARE_WORDS,
GX_PT_POINT_RUN_COUNT_MASK): Convert enum values to macros.
This commit is contained in:
Werner Lemberg 2009-12-16 18:13:55 +01:00
parent 0770de9aac
commit 7da7ad9457
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,11 @@
2009-12-16 Werner Lemberg <wl@gnu.org>
Really fix compiler warnings.
Reported by Sean.
* src/truetype/ttgxvar.c (GX_PT_POINTS_ARE_WORDS,
GX_PT_POINT_RUN_COUNT_MASK): Convert enum values to macros.
2009-12-16 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
Improve configure.raw to copy some options from CFLAGS to LDFLAGS.

View File

@ -94,11 +94,8 @@
#define ALL_POINTS (FT_UShort*)( -1 )
enum
{
GX_PT_POINTS_ARE_WORDS = 0x80,
GX_PT_POINT_RUN_COUNT_MASK = 0x7F
};
#define GX_PT_POINTS_ARE_WORDS 0x80
#define GX_PT_POINT_RUN_COUNT_MASK 0x7F
/*************************************************************************/