From 79b806fef82ab0437b58067305796c02b7ec4593 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Mon, 11 Sep 2017 19:30:03 +0900 Subject: [PATCH] replace 32bit enumarator by cpp macro, conditionally on 16bit system. --- src/cff/cf2blues.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cff/cf2blues.h b/src/cff/cf2blues.h index a6bcd9de5..6e197543c 100644 --- a/src/cff/cf2blues.h +++ b/src/cff/cf2blues.h @@ -100,11 +100,16 @@ FT_BEGIN_HEADER * in `CF2_Blues', assuming 1000 units per em here. * */ +#if UINT_MAX > 0xFFFFUL enum { CF2_ICF_Top = cf2_intToFixed( 880 ), CF2_ICF_Bottom = cf2_intToFixed( -120 ) }; +#else +#define CF2_ICF_Top (cf2_intToFixed( 880 )) +#define CF2_ICF_Bottom (cf2_intToFixed( -120 )) +#endif /*