Bump version to 5.0-14
[LibreOffice.git] / external / graphite / graphite2.issue1115.patch.1
blobf19c8a3749f45ac4f656367218f839c5a8f948ee
1 --- graphite/src/Code.cpp
2 +++ graphite/src/Code.cpp
3 @@ -169,8 +169,8 @@ Machine::Code::Code(bool is_constraint,
4          bytecode_end,
5          pre_context,
6          rule_length,
7 -        silf.numClasses(),
8 -        face.glyphs().numAttrs(),
9 +        static_cast<uint16>(silf.numClasses()),
10 +        static_cast<uint16>(face.glyphs().numAttrs()),
11          face.numFeatures(), 
12          {1,1,1,1,1,1,1,1, 
13           1,1,1,1,1,1,1,255,
14 @@ -178,7 +178,7 @@ Machine::Code::Code(bool is_constraint,
15           1,1,1,1,1,1,0,0, 
16           0,0,0,0,0,0,0,0, 
17           0,0,0,0,0,0,0,0, 
18 -         0,0,0,0,0,0,0, silf.numUser()}
19 +         0,0,0,0,0,0,0, static_cast<byte>(silf.numUser())}
20      };
21      
22      decoder dec(lims, *this);