Commit 97f8eec7 authored by Gergo Ujhelyi's avatar Gergo Ujhelyi
Browse files

int not enough for utf32


Signed-off-by: Gergo Ujhelyi's avatarGergoUjhelyi <ujhelyi.gergo@ericsson.com>
parent a33af5c7
......@@ -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