To: vim_dev@googlegroups.com Subject: Patch 7.4.1587 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1587 Problem: Compiler warnings with 64 bit compiler. Solution: Add type casts. (Mike Williams) Files: src/ex_cmds2.c *** ../vim-7.4.1586/src/ex_cmds2.c 2016-03-16 23:24:39.894387868 +0100 --- src/ex_cmds2.c 2016-03-17 21:50:05.096192778 +0100 *************** *** 3272,3278 **** if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_START)) { ! len = STRLEN(start_dir) + STRLEN(name); s = alloc(len); if (s == NULL) return FAIL; --- 3272,3278 ---- if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_START)) { ! len = (int)(STRLEN(start_dir) + STRLEN(name)); s = alloc(len); if (s == NULL) return FAIL; *************** *** 3283,3289 **** if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_OPT)) { ! len = STRLEN(opt_dir) + STRLEN(name); s = alloc(len); if (s == NULL) return FAIL; --- 3283,3289 ---- if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_OPT)) { ! len = (int)(STRLEN(opt_dir) + STRLEN(name)); s = alloc(len); if (s == NULL) return FAIL; *** ../vim-7.4.1586/src/version.c 2016-03-17 21:11:48.392657218 +0100 --- src/version.c 2016-03-17 21:49:26.140609238 +0100 *************** *** 750,751 **** --- 750,753 ---- { /* Add new patch number below this line */ + /**/ + 1587, /**/ -- hundred-and-one symptoms of being an internet addict: 68. Your cat always puts viruses on your dogs homepage /// 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 ///