summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-27 22:41:43 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-27 22:41:43 +0200
commit8765a4ac3a9dfb994ad7051183353ead25cfbb64 (patch)
tree92b7309028f41799a44ef42512802188b4470a07 /src/eval.c
parent3b95389d45bacf90f4ef04a7a7726e5ddc29027a (diff)
downloadvim-8765a4ac3a9dfb994ad7051183353ead25cfbb64.zip
Fix build warnings and problems for tiny/small Win32 build. (Mike Williams)
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index ac0ad2679..58c89c88d 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -13508,7 +13508,7 @@ find_some_match(argvars, rettv, type)
startcol = (colnr_T)(regmatch.startp[0]
+ (*mb_ptr2len)(regmatch.startp[0]) - str);
#else
- startcol = regmatch.startp[0] + 1 - str;
+ startcol = (colnr_T)(regmatch.startp[0] + 1 - str);
#endif
}
}