projects
/
framework
/
uifw
/
harfbuzz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95639fc
)
[HB] More casts
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 4 Aug 2009 16:13:52 +0000
(12:13 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 2 Nov 2009 19:40:28 +0000
(14:40 -0500)
src/hb-ot-layout-gsub-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-gsub-private.hh
b/src/hb-ot-layout-gsub-private.hh
index
c3fca5b
..
09b17af
100644
(file)
--- a/
src/hb-ot-layout-gsub-private.hh
+++ b/
src/hb-ot-layout-gsub-private.hh
@@
-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);
}
};