To: vim_dev@googlegroups.com Subject: Patch 8.1.2319 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.2319 Problem: Compiler warning for int size. Solution: Add typecast. (Mike Williams) Files: src/mouse.c *** ../vim-8.1.2318/src/mouse.c 2019-11-18 21:56:29.592807368 +0100 --- src/mouse.c 2019-11-18 21:56:29.592807368 +0100 *************** *** 2884,2890 **** col += win->w_skipcol; // limit to text length plus one p = ml_get_buf(win->w_buffer, lnum, FALSE); ! count = STRLEN(p); if (col > count) col = count; } --- 2884,2890 ---- col += win->w_skipcol; // limit to text length plus one p = ml_get_buf(win->w_buffer, lnum, FALSE); ! count = (int)STRLEN(p); if (col > count) col = count; } *** ../vim-8.1.2318/src/version.c 2019-11-18 21:56:29.600807237 +0100 --- src/version.c 2019-11-18 21:56:29.600807237 +0100 *************** *** 742,743 **** --- 742,745 ---- { /* Add new patch number below this line */ + /**/ + 2319, /**/ -- Momento mori, ergo carpe diem /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///