diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-02-18 20:54:15 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-02-18 20:54:15 -0500 |
commit | b1d079c83b3dd459114d1ba7c2ff1b07a9ee3e9e (patch) | |
tree | e80358ae4795597680b45fe984dc5f2e9ce20237 /src/nvim/eval.c | |
parent | 366662d932551e558d10f09887ddf144ed5db34b (diff) | |
parent | 36340803afe1504f15468a715172c25cfef6974c (diff) | |
download | rneovim-b1d079c83b3dd459114d1ba7c2ff1b07a9ee3e9e.tar.gz rneovim-b1d079c83b3dd459114d1ba7c2ff1b07a9ee3e9e.tar.bz2 rneovim-b1d079c83b3dd459114d1ba7c2ff1b07a9ee3e9e.zip |
Merge #1979 'Enable -Wconversion'
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 97993eb651..b06c0961c5 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -3615,7 +3615,7 @@ static int eval4(char_u **arg, typval_T *rettv, int evaluate) s1 = get_tv_string_buf(rettv, buf1); s2 = get_tv_string_buf(&var2, buf2); if (type != TYPE_MATCH && type != TYPE_NOMATCH) - i = ic ? MB_STRICMP(s1, s2) : STRCMP(s1, s2); + i = ic ? mb_stricmp(s1, s2) : STRCMP(s1, s2); else i = 0; n1 = FALSE; @@ -4955,7 +4955,7 @@ tv_equal ( case VAR_STRING: s1 = get_tv_string_buf(tv1, buf1); s2 = get_tv_string_buf(tv2, buf2); - return (ic ? MB_STRICMP(s1, s2) : STRCMP(s1, s2)) == 0; + return (ic ? mb_stricmp(s1, s2) : STRCMP(s1, s2)) == 0; } EMSG2(_(e_intern2), "tv_equal()"); |