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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202004201412.03KECX58017032%40masaka.moolenaar.net.

Raspunde prin e-mail lui