summaryrefslogtreecommitdiff
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
parent8648357841065295e39831d2b559d87ca01a7a7c (diff)
downloadvim-git-7.4.917.tar.gz
patch 7.4.917v7.4.917
Problem: Compiler warning for comparing signed and unsigned. Solution: Add a type cast.
-rw-r--r--src/hangulin.c2
-rw-r--r--src/version.c2
2 files changed, 3 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];
diff --git a/src/version.c b/src/version.c
index 8effc142b..0255d5201 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 917,
+/**/
916,
/**/
915,