To: vim_dev@googlegroups.com Subject: Patch 7.4.1986 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1986 Problem: Compiler warns for loss of data. Solution: Use size_t instead of int. (Christian Brabandt) Files: src/ex_cmds2.c *** ../vim-7.4.1985/src/ex_cmds2.c 2016-07-01 17:17:13.282266878 +0200 --- src/ex_cmds2.c 2016-07-02 21:55:44.302929064 +0200 *************** *** 3349,3355 **** char_u *afterdir; size_t afterlen = 0; char_u *ffname = fix_fname(fname); ! int fname_len; if (ffname == NULL) return; --- 3349,3355 ---- char_u *afterdir; size_t afterlen = 0; char_u *ffname = fix_fname(fname); ! size_t fname_len; if (ffname == NULL) return; *** ../vim-7.4.1985/src/version.c 2016-07-02 21:45:13.716281170 +0200 --- src/version.c 2016-07-02 21:56:28.966266852 +0200 *************** *** 760,761 **** --- 760,763 ---- { /* Add new patch number below this line */ + /**/ + 1986, /**/ -- A computer program does what you tell it to do, not what you want it to do. /// 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 ///