comparison src/popupwin.c @ 17328:12c1f01b304e v8.1.1663

patch 8.1.1663: compiler warning for using size_t commit https://github.com/vim/vim/commit/1072768b919efd1dd3fe28d58b24274cb92ad098 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 12 13:59:20 2019 +0200 patch 8.1.1663: compiler warning for using size_t Problem: Compiler warning for using size_t. Solution: Add type cast. (Mike Williams)
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 Jul 2019 14:00:06 +0200
parents 33dccaafb214
children 61f0bf94ef92
comparison
equal deleted inserted replaced
17327:4afa794015d7 17328:12c1f01b304e
197 pos.col = col; 197 pos.col = col;
198 pos.coladd = 0; 198 pos.coladd = 0;
199 getvcol(textwp, &pos, &mcol, NULL, NULL); 199 getvcol(textwp, &pos, &mcol, NULL, NULL);
200 wp->w_popup_mouse_mincol = mcol; 200 wp->w_popup_mouse_mincol = mcol;
201 201
202 pos.col = col + STRLEN(text) - 1; 202 pos.col = col + (colnr_T)STRLEN(text) - 1;
203 getvcol(textwp, &pos, NULL, NULL, &mcol); 203 getvcol(textwp, &pos, NULL, NULL, &mcol);
204 wp->w_popup_mouse_maxcol = mcol; 204 wp->w_popup_mouse_maxcol = mcol;
205 vim_free(text); 205 vim_free(text);
206 } 206 }
207 } 207 }