[HB] More casts

This commit is contained in:
Behdad Esfahbod 2009-08-04 12:13:52 -04:00
parent 95639fccc1
commit ad3a3cd495
1 changed files with 1 additions and 1 deletions

View File

@ -842,7 +842,7 @@ struct GSUB : GSUBGPOS
inline bool sanitize (SANITIZE_ARG_DEF) {
if (GSUBGPOS::sanitize (SANITIZE_ARG)) return false;
OffsetTo<SubstLookupList> &list = (OffsetTo<SubstLookupList> &) lookupList;
OffsetTo<SubstLookupList> &list = CAST(OffsetTo<SubstLookupList>, lookupList, 0);
return SANITIZE_THIS (list);
}
};