41007842ed
Change-Id: I09db7262c2a6180a078620ba086dd7a4c132bd82 Reviewed-on: https://gerrit.libreoffice.org/18459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: László Németh <nemeth@numbertext.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
22 lines
728 B
Groff
22 lines
728 B
Groff
--- graphite/src/Code.cpp
|
|
+++ graphite/src/Code.cpp
|
|
@@ -175,8 +175,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,
|
|
@@ -184,7 +184,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, pt);
|