Blob Blame History Raw
To: vim_dev@googlegroups.com
Subject: Patch 7.4.917
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4.917
Problem:    Compiler warning for comparing signed and unsigned.
Solution:   Add a type cast.
Files:      src/hangulin.c


*** ../vim-7.4.916/src/hangulin.c	2015-11-10 14:35:14.312069795 +0100
--- src/hangulin.c	2015-11-10 19:09:56.574198479 +0100
***************
*** 1515,1521 ****
      int i;
  
      if ((i = han_index(h, low)) >= 0
! 	&& i < sizeof(ks_table1)/sizeof(ks_table1[0]))
      {
  	*fp = ks_table1[i][0];
  	*mp = ks_table1[i][1];
--- 1515,1521 ----
      int i;
  
      if ((i = han_index(h, low)) >= 0
! 	&& i < (int)(sizeof(ks_table1)/sizeof(ks_table1[0])))
      {
  	*fp = ks_table1[i][0];
  	*mp = ks_table1[i][1];
*** ../vim-7.4.916/src/version.c	2015-11-10 19:04:18.729542221 +0100
--- src/version.c	2015-11-10 19:11:07.641496707 +0100
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     917,
  /**/

-- 
I AM THANKFUL...
...for the mess to clean after a party because it means I have
been surrounded by friends.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///