# HG changeset patch # User Bram Moolenaar # Date 1388985551 -3600 # Node ID 6a28a9cf51537b81da7e9ec3f70fea55e393b345 # Parent 55cd783bbc2d69a4baea9125ba53fa787aed3780 updated for version 7.4.133 Problem: Clang warns for using NUL. Solution: Change NUL to NULL. (Dominique Pelle) diff --git a/src/eval.c b/src/eval.c --- 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 diff --git a/src/misc2.c b/src/misc2.c --- a/src/misc2.c +++ b/src/misc2.c @@ -4695,8 +4695,8 @@ vim_findfile_init(path, filename, stopdi else { char_u *p = gettail(search_ctx->ffsc_fix_path); - char_u *wc_path = NUL; - char_u *temp = NUL; + char_u *wc_path = NULL; + char_u *temp = NULL; int len = 0; if (p > search_ctx->ffsc_fix_path) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 133, +/**/ 132, /**/ 131,