cid#1607476 Overflowed return value
Change-Id: I38c72db66e47b0e09a53413457f167159c599202 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173524 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
d3959ecab9
commit
b6d8c6e6fe
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ static hchar s_hh2ks(hchar hh)
|
|||
return sal::static_int_cast<hchar>(tblhhtg_ks[hh - HCA_TG]);
|
||||
}
|
||||
hh -= HCA_KSS;
|
||||
idx = hh / 0x60 + 161;
|
||||
idx = sal::static_int_cast<hchar>(hh / 0x60 + 161);
|
||||
i = hh % 0x60 + 160;
|
||||
if (idx == 170)
|
||||
idx += 2;
|
||||
|
|
Loading…
Reference in a new issue