To: vim_dev@googlegroups.com Subject: Patch 8.2.0608 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0608 Problem: Warning from clang when building message test. Solution: Use a void pointer. (Dominique Pelle, closes #5958) Files: src/message_test.c *** ../vim-8.2.0607/src/message_test.c 2020-04-12 19:37:13.518297259 +0200 --- src/message_test.c 2020-04-20 16:10:23.567482895 +0200 *************** *** 127,133 **** int n; size_t bsize; int bsize_int; ! char *ptr = (char *)0x87654321; // Loop on various buffer sizes to make sure that truncation of // vim_snprintf() is correct. --- 127,133 ---- int n; size_t bsize; int bsize_int; ! void *ptr = (void *)0x87654321; // Loop on various buffer sizes to make sure that truncation of // vim_snprintf() is correct. *** ../vim-8.2.0607/src/version.c 2020-04-19 22:57:40.948355213 +0200 --- src/version.c 2020-04-20 16:11:46.835218446 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 608, /**/ -- While it's true that many normal people whould prefer not to _date_ an engineer, most normal people harbor an intense desire to _mate_ with them, thus producing engineerlike children who will have high-paying jobs long before losing their virginity. (Scott Adams - The Dilbert principle) /// 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 ///