From 1be2ed6c11671eabefa0fc8600fd2af6cd3963e8 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 10 Nov 2015 19:11:58 +0100 Subject: patch 7.4.917 Problem: Compiler warning for comparing signed and unsigned. Solution: Add a type cast. --- src/hangulin.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 917, /**/ 916, /**/ -- cgit v1.2.1