forked from aniani/vim
patch 7.4.735
Problem: Wrong argument for sizeof(). Solution: Use a pointer argument. (Chris Hall)
This commit is contained in:
@@ -23164,7 +23164,7 @@ func_dump_profile(fd)
|
|||||||
if (todo == 0)
|
if (todo == 0)
|
||||||
return; /* nothing to dump */
|
return; /* nothing to dump */
|
||||||
|
|
||||||
sorttab = (ufunc_T **)alloc((unsigned)(sizeof(ufunc_T) * todo));
|
sorttab = (ufunc_T **)alloc((unsigned)(sizeof(ufunc_T *) * todo));
|
||||||
|
|
||||||
for (hi = func_hashtab.ht_array; todo > 0; ++hi)
|
for (hi = func_hashtab.ht_array; todo > 0; ++hi)
|
||||||
{
|
{
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
735,
|
||||||
/**/
|
/**/
|
||||||
734,
|
734,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user