Mercurial > vim
changeset 5571:6a28a9cf5153 v7.4.133
updated for version 7.4.133
Problem: Clang warns for using NUL.
Solution: Change NUL to NULL. (Dominique Pelle)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 06 Jan 2014 06:19:11 +0100 |
parents | 55cd783bbc2d |
children | 917d51d1bbff |
files | src/eval.c src/misc2.c src/version.c |
diffstat | 3 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -14141,8 +14141,8 @@ f_matcharg(argvars, rettv) } else { - list_append_string(rettv->vval.v_list, NUL, -1); - list_append_string(rettv->vval.v_list, NUL, -1); + list_append_string(rettv->vval.v_list, NULL, -1); + list_append_string(rettv->vval.v_list, NULL, -1); } } #endif