To: vim_dev@googlegroups.com Subject: Patch 8.2.2577 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2577 Problem: Compiler warning for type conversion. Solution: Add a typecast. (Mike Williams) Files: src/drawline.c *** ../vim-8.2.2576/src/drawline.c 2021-03-03 13:25:59.535913158 +0100 --- src/drawline.c 2021-03-08 19:02:56.558770094 +0100 *************** *** 1034,1040 **** p_extra_free = alloc(MAX_MCO * fdc + 1); if (p_extra_free != NULL) { ! n_extra = fill_foldcolumn(p_extra_free, wp, FALSE, lnum); p_extra_free[n_extra] = NUL; p_extra = p_extra_free; --- 1034,1040 ---- p_extra_free = alloc(MAX_MCO * fdc + 1); if (p_extra_free != NULL) { ! n_extra = (int)fill_foldcolumn(p_extra_free, wp, FALSE, lnum); p_extra_free[n_extra] = NUL; p_extra = p_extra_free; *** ../vim-8.2.2576/src/version.c 2021-03-06 22:33:09.013928670 +0100 --- src/version.c 2021-03-08 19:03:34.470675348 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2577, /**/ -- Clothes make the man. Naked people have little or no influence on society. -- Mark Twain (Samuel Clemens) (1835-1910) /// 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 ///