[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] int-not32-changes-2017 f6d0415 16/23: replace 32bit enumarat
From: |
suzuki toshiya |
Subject: |
[freetype2] int-not32-changes-2017 f6d0415 16/23: replace 32bit enumarator by cpp macro, conditionally on 16bit system. |
Date: |
Tue, 12 Sep 2017 22:13:36 -0400 (EDT) |
branch: int-not32-changes-2017
commit f6d04159efe7c36a7573fcf2c27fbb3fe9b7a875
Author: suzuki toshiya <address@hidden>
Commit: suzuki toshiya <address@hidden>
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 a6bcd9d..6e19754 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
/*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] int-not32-changes-2017 f6d0415 16/23: replace 32bit enumarator by cpp macro, conditionally on 16bit system.,
suzuki toshiya <=