summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-06-09 20:30:51 +0200
committerBram Moolenaar <Bram@vim.org>2015-06-09 20:30:51 +0200
commite2e4b98622f7c44910dc9660035048a4177d3777 (patch)
tree854dba79a4663828e4dad418e8929fba45bf43a3 /src
parentd009e8682686a56f7565e6e093a42cd0596e121f (diff)
patch 7.4.735v7.4.735
Problem: Wrong argument for sizeof(). Solution: Use a pointer argument. (Chris Hall)
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index e0f3218b6e..a173cc73a7 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -23164,7 +23164,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)
{
diff --git a/src/version.c b/src/version.c
index a21ec5effb..f474f068ba 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 735,
+/**/
734,
/**/
733,