mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
patch 7.4.735 Problem: Wrong argument for sizeof(). Solution: Use a pointer argument. (Chris Hall)
This commit is contained in:
committed by
Douglas Drumond
parent
816660d05f
commit
9c2af3e259
+1
-1
@@ -23192,7 +23192,7 @@ func_dump_profile(fd)
|
||||
if (todo == 0)
|
||||
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)
|
||||
{
|
||||
|
||||
@@ -756,6 +756,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
735,
|
||||
/**/
|
||||
734,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user