Minor again
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 10 May 2019 20:51:12 +0000 (13:51 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 10 May 2019 20:51:12 +0000 (13:51 -0700)
src/hb-ot-layout-gsubgpos.hh

index 3fb6829..93f8f6e 100644 (file)
@@ -2504,7 +2504,7 @@ struct ExtensionFormat1
 
   template <typename X>
   const X& get_subtable () const
-  { return this + (LOffsetTo<typename T::SubTable>&) extensionOffset; }
+  { return this + CastR<LOffsetTo<typename T::SubTable>> (extensionOffset); }
 
   template <typename context_t, typename ...Ts>
   typename context_t::return_t dispatch (context_t *c, Ts&&... ds) const