commit | 988232fabba5d5dc154fcb962243a36740f02b12 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Feb 26 21:43:32 2013 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 26 21:43:32 2013 +0100 |
tree | deba198f9a1bf56dcf49a17d8931e91911d7acd5 | |
parent | e17c2603355669a84813f454875d865f38172ff8 [diff] [blame] |
updated for version 7.3.842 Problem: Compiler warning for signed/unsigned pointer. Solution: Add type cast. (Christian Brabandt)
diff --git a/src/eval.c b/src/eval.c index d5a41fb..ad20059 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -5170,7 +5170,7 @@ * what follows. So set it here. */ if (rettv->v_type == VAR_UNKNOWN && !evaluate && **arg == '(') { - rettv->vval.v_string = vim_strsave(""); + rettv->vval.v_string = vim_strsave((char_u *)""); rettv->v_type = VAR_FUNC; }