hwpfilter/source/hbox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a07cc00c6a75b73717da3dcc98730ebcc142e3b3 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Oct 3 09:14:45 2023 +0100 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Tue Nov 7 13:41:09 2023 +0100 ofz#62935 avoid negative numbers in olHanglJaso Change-Id: I3898b95e9d2fe60690889ba259859ed9f66636d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157467 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx index a75bde4b779d..39c36f6eb84f 100644 --- a/hwpfilter/source/hbox.cxx +++ b/hwpfilter/source/hbox.cxx @@ -432,7 +432,7 @@ hchar_string MailMerge::GetString() #define OL_HANGL_JASO 0 #define OL_HANGL_KANATA 1 -static hchar olHanglJaso(int num, int type) +static hchar olHanglJaso(unsigned int num, int type) { static const unsigned char han_init[] = { 0x88, 0x90, 0x94, 0x9c, 0xa0, 0xa4, 0xac, 0xb4, 0xb8, 0xc0, 0xc4, 0xc8, 0xcc, 0xd0 };