To: vim_dev@googlegroups.com Subject: Patch 8.0.1428 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1428 Problem: Compiler warning on 64 bit MS-Windows system. Solution: Change type from "int" to "size_t". (Mike Williams) Files: src/ex_getln.c *** ../vim-8.0.1427/src/ex_getln.c 2017-12-17 14:54:57.195422923 +0100 --- src/ex_getln.c 2018-01-02 15:33:18.848147958 +0100 *************** *** 180,186 **** static int empty_pattern(char_u *p) { ! int n = STRLEN(p); /* remove trailing \v and the like */ while (n >= 2 && p[n - 2] == '\\' --- 180,186 ---- static int empty_pattern(char_u *p) { ! size_t n = STRLEN(p); /* remove trailing \v and the like */ while (n >= 2 && p[n - 2] == '\\' *** ../vim-8.0.1427/src/version.c 2017-12-26 13:53:06.251810045 +0100 --- src/version.c 2018-01-02 15:35:38.643447587 +0100 *************** *** 773,774 **** --- 773,776 ---- { /* Add new patch number below this line */ + /**/ + 1428, /**/ -- hundred-and-one symptoms of being an internet addict: 181. You make up words that go with the "happy tune" your modem makes while dialing your ISP. /// 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 ///