Use enum for class constant
diff --git a/src/hb-cff-interp-common.hh b/src/hb-cff-interp-common.hh
index 9a45332..7b0b829 100644
--- a/src/hb-cff-interp-common.hh
+++ b/src/hb-cff-interp-common.hh
@@ -477,7 +477,7 @@
   unsigned int get_count () const { return count; }
   bool is_empty () const { return count == 0; }
 
-  static const unsigned int kSizeLimit = LIMIT;
+  enum { kSizeLimit = LIMIT };
 
   protected:
   bool error;