Karsten Hopp 1de616
To: vim_dev@googlegroups.com
Karsten Hopp 1de616
Subject: Patch 7.3.416
Karsten Hopp 1de616
Fcc: outbox
Karsten Hopp 1de616
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 1de616
Mime-Version: 1.0
Karsten Hopp 1de616
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 1de616
Content-Transfer-Encoding: 8bit
Karsten Hopp 1de616
------------
Karsten Hopp 1de616
Karsten Hopp 1de616
Patch 7.3.416 (after 7.3.415)
Karsten Hopp 1de616
Problem:    Compiler warning for wrong pointer.
Karsten Hopp 1de616
Solution:   Add type cast.
Karsten Hopp 1de616
Files:	    src/eval.c
Karsten Hopp 1de616
Karsten Hopp 1de616
Karsten Hopp 1de616
*** ../vim-7.3.415/src/eval.c	2012-01-26 14:32:26.000000000 +0100
Karsten Hopp 1de616
--- src/eval.c	2012-01-26 15:42:56.000000000 +0100
Karsten Hopp 1de616
***************
Karsten Hopp 1de616
*** 21802,21808 ****
Karsten Hopp 1de616
  	fp = HI2UF(hi);
Karsten Hopp 1de616
  
Karsten Hopp 1de616
  	if (fp->uf_flags & FC_DICT)
Karsten Hopp 1de616
! 	    return ""; /* don't show dict functions */
Karsten Hopp 1de616
  
Karsten Hopp 1de616
  	if (STRLEN(fp->uf_name) + 4 >= IOSIZE)
Karsten Hopp 1de616
  	    return fp->uf_name;	/* prevents overflow */
Karsten Hopp 1de616
--- 21802,21808 ----
Karsten Hopp 1de616
  	fp = HI2UF(hi);
Karsten Hopp 1de616
  
Karsten Hopp 1de616
  	if (fp->uf_flags & FC_DICT)
Karsten Hopp 1de616
! 	    return (char_u *)""; /* don't show dict functions */
Karsten Hopp 1de616
  
Karsten Hopp 1de616
  	if (STRLEN(fp->uf_name) + 4 >= IOSIZE)
Karsten Hopp 1de616
  	    return fp->uf_name;	/* prevents overflow */
Karsten Hopp 1de616
*** ../vim-7.3.415/src/version.c	2012-01-26 14:32:26.000000000 +0100
Karsten Hopp 1de616
--- src/version.c	2012-01-26 15:43:31.000000000 +0100
Karsten Hopp 1de616
***************
Karsten Hopp 1de616
*** 716,717 ****
Karsten Hopp 1de616
--- 716,719 ----
Karsten Hopp 1de616
  {   /* Add new patch number below this line */
Karsten Hopp 1de616
+ /**/
Karsten Hopp 1de616
+     416,
Karsten Hopp 1de616
  /**/
Karsten Hopp 1de616
Karsten Hopp 1de616
-- 
Karsten Hopp 1de616
It's totally unfair to suggest - as many have - that engineers are socially
Karsten Hopp 1de616
inept.  Engineers simply have different objectives when it comes to social
Karsten Hopp 1de616
interaction.
Karsten Hopp 1de616
				(Scott Adams - The Dilbert principle)
Karsten Hopp 1de616
Karsten Hopp 1de616
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 1de616
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 1de616
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 1de616
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///