Unverified Commit 6b206fce authored by Kristof Szabados's avatar Kristof Szabados Committed by GitHub
Browse files

Merge pull request #483 from GergoUjhelyi/master

int not enough for utf32
parents 3352503f 97f8eec7
......@@ -1860,7 +1860,7 @@ public class TitanUniversalCharString extends Base_Type {
final int second = isBig ? i + 1 : i + 2;
final int third = isBig ? i + 2 : i + 1;
final int fourth = isBig ? i + 3 : i;
int DW = octets_ptr[first] << 8 | octets_ptr[second];
long DW = octets_ptr[first] << 8 | octets_ptr[second];
DW <<= 8;
DW |= octets_ptr[third];
DW <<= 8;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment