To: vim_dev@googlegroups.com Subject: Patch 8.2.1532 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1532 Problem: Compiler warning for conversion of size_t to long. Solution: Add type cast. Files: src/eval.c *** ../vim-8.2.1531/src/eval.c 2020-08-25 22:37:44.574877893 +0200 --- src/eval.c 2020-08-27 23:41:04.683652652 +0200 *************** *** 5392,5398 **** if (start_byte < 0) start_byte = 0; // first index very negative: use zero if (last == -1) ! end_byte = slen; else { end_byte = char_idx2byte(str, slen, last); --- 5392,5398 ---- if (start_byte < 0) start_byte = 0; // first index very negative: use zero if (last == -1) ! end_byte = (long)slen; else { end_byte = char_idx2byte(str, slen, last); *** ../vim-8.2.1531/src/version.c 2020-08-27 23:57:50.272069276 +0200 --- src/version.c 2020-08-28 16:37:57.518386934 +0200 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 1532, /**/ -- ZOOT: I'm afraid our life must seem very dull and quiet compared to yours. We are but eightscore young blondes, all between sixteen and nineteen-and-a-half, cut off in this castle, with no one to protect us. Oooh. It is a lonely life ... bathing ... dressing ... undressing ... making exciting underwear.... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///