comparison src/search.c @ 16748:75703a39d875 v8.1.1376

patch 8.1.1376: warnings for size_t/int mixups commit https://github.com/vim/vim/commit/e2ad826f431b2f8dd1b235c219282cc3961f7188 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 24 13:22:22 2019 +0200 patch 8.1.1376: warnings for size_t/int mixups Problem: Warnings for size_t/int mixups. Solution: Change types, add type casts. (Mike Williams)
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 May 2019 13:30:06 +0200
parents 73ff6357da5b
children 97ad98d95214
comparison
equal deleted inserted replaced
16747:ee8eb8c733ac 16748:75703a39d875
4988 cur = -1; // abort 4988 cur = -1; // abort
4989 } 4989 }
4990 if (cur > 0) 4990 if (cur > 0)
4991 { 4991 {
4992 char t[SEARCH_STAT_BUF_LEN] = ""; 4992 char t[SEARCH_STAT_BUF_LEN] = "";
4993 int len; 4993 size_t len;
4994 4994
4995 #ifdef FEAT_RIGHTLEFT 4995 #ifdef FEAT_RIGHTLEFT
4996 if (curwin->w_p_rl && *curwin->w_p_rlc == 's') 4996 if (curwin->w_p_rl && *curwin->w_p_rlc == 's')
4997 { 4997 {
4998 if (cur == OUT_OF_TIME) 4998 if (cur == OUT_OF_TIME)