Mercurial > vim
changeset 7019:db0328a2fa2a v7.4.826
patch 7.4.826
Problem: Compiler warnings and errors.
Solution: Make it build properly without the multi-byte feature.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 13 Aug 2015 23:28:43 +0200 |
parents | d4e2b9821843 |
children | 91852336e638 |
files | src/eval.c src/search.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 @@ -17056,8 +17056,8 @@ f_setcharsearch(argvars, rettv) } else #endif - set_last_csearch(mb_ptr2char(csearch), - csearch, mb_ptr2len(csearch)); + set_last_csearch(PTR2CHAR(csearch), + csearch, MB_PTR2LEN(csearch)); } di = dict_find(d, (char_u *)"forward", -1);