[machinery] Remove CastR<>()
diff --git a/src/hb-open-file.hh b/src/hb-open-file.hh
index cb1fdf1..23ca44d 100644
--- a/src/hb-open-file.hh
+++ b/src/hb-open-file.hh
@@ -284,7 +284,7 @@
 struct ResourceRecord
 {
   const OpenTypeFontFace & get_face (const void *data_base) const
-  { return CastR<OpenTypeFontFace> ((data_base+offset).arrayZ); }
+  { return * reinterpret_cast<const OpenTypeFontFace *> ((data_base+offset).arrayZ); }
 
   bool sanitize (hb_sanitize_context_t *c,
 		 const void *data_base) const