Patch 8.0.0945
Problem:    64-bit compiler warnings.
Solution:   Use "size_t" instead of "int". (Mike Williams)
Files:      src/os_win32.c


*** ../vim-8.0.0944/src/os_win32.c      2017-08-12 16:39:01.377461483 +0200
--- src/os_win32.c      2017-08-14 23:23:07.994736233 +0200
***************
*** 5072,5079 ****
            --todo;
            if (wkey != NULL && wval != NULL)
            {
!               int n, lkey = wcslen(wkey), lval = wcslen(wval);
!               if (ga_grow(gap, lkey + lval + 2) != OK)
                    continue;
                for (n = 0; n < lkey; n++)
                    *((WCHAR*)gap->ga_data + gap->ga_len++) = wkey[n];
--- 5072,5082 ----
            --todo;
            if (wkey != NULL && wval != NULL)
            {
!               int     n;
!               size_t  lkey = wcslen(wkey);
!               size_t  lval = wcslen(wval);
! 
!               if (ga_grow(gap, (int)(lkey + lval + 2)) != OK)
                    continue;
                for (n = 0; n < lkey; n++)
                    *((WCHAR*)gap->ga_data + gap->ga_len++) = wkey[n];
*** ../vim-8.0.0944/src/version.c       2017-08-14 23:13:26.054283184 +0200
--- src/version.c       2017-08-14 23:24:15.838323622 +0200
***************
*** 771,772 ****
--- 771,774 ----
  {   /* Add new patch number below this line */
+ /**/
+     945,
  /**/

-- 
People who want to share their religious views with you
almost never want you to share yours with them.

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui