summaryrefslogtreecommitdiffstats
path: root/src/hangulin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-11-10 19:11:58 +0100
committerBram Moolenaar <Bram@vim.org>2015-11-10 19:11:58 +0100
commit1be2ed6c11671eabefa0fc8600fd2af6cd3963e8 (patch)
treebabc9ae0bc1842aa76e4d27223fc837e56d0a6b2 /src/hangulin.c
parent8648357841065295e39831d2b559d87ca01a7a7c (diff)
patch 7.4.917v7.4.917
Problem: Compiler warning for comparing signed and unsigned. Solution: Add a type cast.
Diffstat (limited to 'src/hangulin.c')
-rw-r--r--src/hangulin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hangulin.c b/src/hangulin.c
index f02cad8174..4e1a7f8014 100644
--- a/src/hangulin.c
+++ b/src/hangulin.c
@@ -1515,7 +1515,7 @@ convert_ks_to_3(src, fp, mp, lp)
int i;
if ((i = han_index(h, low)) >= 0
- && i < sizeof(ks_table1)/sizeof(ks_table1[0]))
+ && i < (int)(sizeof(ks_table1)/sizeof(ks_table1[0])))
{
*fp = ks_table1[i][0];
*mp = ks_table1[i][1];