diff src/search.c @ 16762:97ad98d95214 v8.1.1383

patch 8.1.1383: warning for size_t/int mixup commit https://github.com/vim/vim/commit/d33a764123a8aedb20cd84aeff3b94810ee67c4c Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 24 17:56:14 2019 +0200 patch 8.1.1383: warning for size_t/int mixup Problem: Warning for size_t/int mixup. Solution: Change type. (Mike Williams)
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 May 2019 18:00:06 +0200
parents 75703a39d875
children 695d9ef00b03
line wrap: on
line diff
--- 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();