To: vim_dev@googlegroups.com Subject: Patch 8.1.2232 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.2232 Problem: MS-Windows: compiler warning for int size. Solution: Add type cast. (Mike Williams) Files: src/normal.c *** ../vim-8.1.2231/src/normal.c 2019-10-28 02:12:32.811459384 +0100 --- src/normal.c 2019-10-29 00:42:40.815263226 +0100 *************** *** 5986,5992 **** oap->motion_type = MCHAR; oap->inclusive = FALSE; if (has_mbyte) ! i = mb_string2cells(ptr, STRLEN(ptr)); else i = (int)STRLEN(ptr); if (cap->count0 > 0 && cap->count0 <= 100) --- 5986,5992 ---- oap->motion_type = MCHAR; oap->inclusive = FALSE; if (has_mbyte) ! i = mb_string2cells(ptr, (int)STRLEN(ptr)); else i = (int)STRLEN(ptr); if (cap->count0 > 0 && cap->count0 <= 100) *** ../vim-8.1.2231/src/version.c 2019-10-28 02:12:32.811459384 +0100 --- src/version.c 2019-10-29 00:44:28.898778444 +0100 *************** *** 743,744 **** --- 743,746 ---- { /* Add new patch number below this line */ + /**/ + 2232, /**/ -- An operatingsystem is just a name you give to the rest of bloating idiosyncratic machine-based-features you left out of your editor. (author unknown) /// 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 ///