0644809594
Change-Id: Idca64b8925199f3d275e7966c1d0e13fee4967a8
22 lines
724 B
Groff
22 lines
724 B
Groff
--- graphite/src/Code.cpp
|
|
+++ graphite/src/Code.cpp
|
|
@@ -169,8 +169,8 @@ Machine::Code::Code(bool is_constraint,
|
|
bytecode_end,
|
|
pre_context,
|
|
rule_length,
|
|
- silf.numClasses(),
|
|
- face.glyphs().numAttrs(),
|
|
+ static_cast<uint16>(silf.numClasses()),
|
|
+ static_cast<uint16>(face.glyphs().numAttrs()),
|
|
face.numFeatures(),
|
|
{1,1,1,1,1,1,1,1,
|
|
1,1,1,1,1,1,1,255,
|
|
@@ -178,7 +178,7 @@ Machine::Code::Code(bool is_constraint,
|
|
1,1,1,1,1,1,0,0,
|
|
0,0,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,
|
|
- 0,0,0,0,0,0,0, silf.numUser()}
|
|
+ 0,0,0,0,0,0,0, static_cast<byte>(silf.numUser())}
|
|
};
|
|
|
|
decoder dec(lims, *this);
|