To: vim_dev@googlegroups.com Subject: Patch 7.4.1823 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1823 Problem: Warning from 64 bit compiler. Solution: Add type cast. (Mike Williams) Files: src/quickfix.c *** ../vim-7.4.1822/src/quickfix.c 2016-05-01 20:20:40.767810389 +0200 --- src/quickfix.c 2016-05-08 12:50:13.265323240 +0200 *************** *** 675,681 **** if (fgets((char *)growbuf + growbuflen, growbufsiz - growbuflen, fd) == NULL) break; ! linelen = STRLEN(growbuf + growbuflen); growbuflen += linelen; if (growbuf[growbuflen - 1] == '\n' #ifdef USE_CRNL --- 675,681 ---- if (fgets((char *)growbuf + growbuflen, growbufsiz - growbuflen, fd) == NULL) break; ! linelen = (int)STRLEN(growbuf + growbuflen); growbuflen += linelen; if (growbuf[growbuflen - 1] == '\n' #ifdef USE_CRNL *** ../vim-7.4.1822/src/version.c 2016-05-08 09:40:46.494843684 +0200 --- src/version.c 2016-05-08 12:51:04.496739340 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1823, /**/ -- I am always surprised in the Linux world how quickly solutions can be obtained. (Imagine sending an email to Bill Gates, asking why Windows crashed, and how to fix it... and then getting an answer that fixed the problem... <0>_<0> !) -- Mark Langdon /// 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 ///