Patch 7.4.735
Problem: Wrong argument for sizeof().
Solution: Use a pointer argument. (Chris Hall)
Files: src/eval.c
*** ../vim-7.4.734/src/eval.c 2015-05-04 11:10:21.539941849 +0200
--- src/eval.c 2015-06-09 20:24:56.219563938 +0200
***************
*** 23164,23170 ****
if (todo == 0)
return; /* nothing to dump */
! sorttab = (ufunc_T **)alloc((unsigned)(sizeof(ufunc_T) * todo));
for (hi = func_hashtab.ht_array; todo > 0; ++hi)
{
--- 23164,23170 ----
if (todo == 0)
return; /* nothing to dump */
! sorttab = (ufunc_T **)alloc((unsigned)(sizeof(ufunc_T *) * todo));
for (hi = func_hashtab.ht_array; todo > 0; ++hi)
{
*** ../vim-7.4.734/src/version.c 2015-06-09 20:19:57.730732183 +0200
--- src/version.c 2015-06-09 20:26:31.098557448 +0200
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 735,
/**/
--
>From "know your smileys":
+<(:-) The Pope
/// 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].
For more options, visit https://groups.google.com/d/optout.