To: vim_dev@googlegroups.com Subject: Patch 8.0.0246 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.0246 Problem: Compiler warnings for int to pointer conversion. Solution: Fix macro for mch_memmove(). (John Marriott) Files: src/vim.h *** ../vim-8.0.0245/src/vim.h 2017-01-26 21:36:29.610733183 +0100 --- src/vim.h 2017-01-27 21:17:49.904677081 +0100 *************** *** 1715,1721 **** typedef void *vim_acl_T; /* dummy to pass an ACL to a function */ #ifndef mch_memmove ! # define mch_memmove(to, from, len) memmove((char*)(to), (char*)(from), (char*)(len)) #endif /* --- 1715,1721 ---- typedef void *vim_acl_T; /* dummy to pass an ACL to a function */ #ifndef mch_memmove ! # define mch_memmove(to, from, len) memmove((char*)(to), (char*)(from), (size_t)(len)) #endif /* *** ../vim-8.0.0245/src/version.c 2017-01-27 20:37:45.592698326 +0100 --- src/version.c 2017-01-27 21:19:13.616116793 +0100 *************** *** 766,767 **** --- 766,769 ---- { /* Add new patch number below this line */ + /**/ + 246, /**/ -- ARTHUR: What? BLACK KNIGHT: None shall pass. ARTHUR: I have no quarrel with you, good Sir knight, but I must cross this bridge. BLACK KNIGHT: Then you shall die. The Quest for the Holy Grail (Monty Python) /// 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 ///