diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-11-10 19:11:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-11-10 19:11:58 +0100 |
commit | 1be2ed6c11671eabefa0fc8600fd2af6cd3963e8 (patch) | |
tree | babc9ae0bc1842aa76e4d27223fc837e56d0a6b2 /src/hangulin.c | |
parent | 8648357841065295e39831d2b559d87ca01a7a7c (diff) | |
download | vim-git-1be2ed6c11671eabefa0fc8600fd2af6cd3963e8.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hangulin.c b/src/hangulin.c index f02cad817..4e1a7f801 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]; |