summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-10-03 09:14:45 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2023-10-03 11:52:19 +0200
commit409edd17b403e7ce59c6f89b2b32b4ce8b00aadb (patch)
tree3e8321c9be35e5a0e880e8a92fa4b2f9b711d137
parentfbdf1aae90d46bcad0432daff324b06dbf0a45ba (diff)
ofz#62935 avoid negative numbers in olHanglJaso
Change-Id: I3898b95e9d2fe60690889ba259859ed9f66636d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157462 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r--hwpfilter/source/hbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index 47d18e76fc1e..5246e1a2cb55 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -431,7 +431,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 };