summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-24 17:56:14 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-24 17:56:14 +0200
commitd33a764123a8aedb20cd84aeff3b94810ee67c4c (patch)
tree881d0c706a20bf79be5238a19ee0de4bd1f595a2 /src/search.c
parent3020a87cb121123abf1e9a1eca0eddac241fc481 (diff)
downloadvim-git-d33a764123a8aedb20cd84aeff3b94810ee67c4c.tar.gz
patch 8.1.1383: warning for size_t/int mixupv8.1.1383
Problem: Warning for size_t/int mixup. Solution: Change type. (Mike Williams)
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index e57c101d7..f7b3dda31 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1382,7 +1382,7 @@ do_search(
{
char_u *trunc;
char_u off_buf[40];
- int off_len = 0;
+ size_t off_len = 0;
// Compute msg_row early.
msg_start();