Skip to content

Commit 4a32311

Browse files
committed
updated for version 7.3.842
Problem: Compiler warning for signed/unsigned pointer. Solution: Add type cast. (Christian Brabandt)
1 parent 8980ad6 commit 4a32311

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5170,7 +5170,7 @@ eval7(arg, rettv, evaluate, want_string)
51705170
* what follows. So set it here. */
51715171
if (rettv->v_type == VAR_UNKNOWN && !evaluate && **arg == '(')
51725172
{
5173-
rettv->vval.v_string = vim_strsave("");
5173+
rettv->vval.v_string = vim_strsave((char_u *)"");
51745174
rettv->v_type = VAR_FUNC;
51755175
}
51765176

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,8 @@ static char *(features[]) =
728728

729729
static int included_patches[] =
730730
{ /* Add new patch number below this line */
731+
/**/
732+
842,
731733
/**/
732734
841,
733735
/**/

0 commit comments

Comments
 (0)