aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/uhc.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/uhc.c')
-rw-r--r--iconvdata/uhc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/uhc.c b/iconvdata/uhc.c
index 0fa6d40f74..5aef36cdd0 100644
--- a/iconvdata/uhc.c
+++ b/iconvdata/uhc.c
@@ -3170,7 +3170,7 @@ static const char uhc_hangul_from_ucs[11172][2] =
*outptr++ = s[0]; \
*outptr++ = s[1]; \
} \
- else if (ch >= 0x4e00 && ch <= 0x9fa5 || ch >= 0xf900 && ch <= 0xfa0b) \
+ else if ((ch >= 0x4e00 && ch <= 0x9fa5) || (ch >= 0xf900 && ch <= 0xfa0b))\
{ \
size_t written = ucs4_to_ksc5601_hanja (ch, outptr, \
(NEED_LENGTH_TEST \