summaryrefslogtreecommitdiff
path: root/src/hb-ot-layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/hb-ot-layout.cc')
-rw-r--r--src/hb-ot-layout.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc
index 34507891..a1220f4d 100644
--- a/src/hb-ot-layout.cc
+++ b/src/hb-ot-layout.cc
@@ -1068,7 +1068,7 @@ hb_ot_layout_get_size_params (hb_face_t *face,
struct GSUBProxy
{
- static const unsigned int table_index = 0;
+ enum { table_index = 0 };
static const bool inplace = false;
typedef OT::SubstLookup Lookup;
@@ -1082,7 +1082,7 @@ struct GSUBProxy
struct GPOSProxy
{
- static const unsigned int table_index = 1;
+ enum { table_index = 1 };
static const bool inplace = true;
typedef OT::PosLookup Lookup;