mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 7.4.917
Problem: Compiler warning for comparing signed and unsigned. Solution: Add a type cast.
This commit is contained in:
@@ -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];
|
||||
|
Reference in New Issue
Block a user