From 724185a4a811f145707d87e87524bcdb1a6fe566 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Jan 23 2007 10:52:16 +0000 Subject: patchlevel 188 --- diff --git a/7.0.188 b/7.0.188 new file mode 100644 index 0000000..4ae7a1d --- /dev/null +++ b/7.0.188 @@ -0,0 +1,51 @@ +To: vim-dev@vim.org +Subject: patch 7.0.188 +Fcc: outbox +From: Bram Moolenaar +Mime-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.0.188 (after 7.0.186) +Problem: Warning for wrong pointer type. +Solution: Add a type cast. +Files: src/search.c + + +*** ../vim-7.0.187/src/search.c Tue Jan 16 16:00:38 2007 +--- src/search.c Tue Jan 16 21:16:01 2007 +*************** +*** 814,820 **** + { + /* 'e' offset may put us just below the last line */ + if (pos->lnum > buf->b_ml.ml_line_count) +! ptr = ""; + else + ptr = ml_get_buf(buf, pos->lnum, FALSE); + pos->col -= (*mb_head_off)(ptr, ptr + pos->col); +--- 814,820 ---- + { + /* 'e' offset may put us just below the last line */ + if (pos->lnum > buf->b_ml.ml_line_count) +! ptr = (char_u *)""; + else + ptr = ml_get_buf(buf, pos->lnum, FALSE); + pos->col -= (*mb_head_off)(ptr, ptr + pos->col); +*** ../vim-7.0.187/src/version.c Tue Jan 16 21:31:38 2007 +--- src/version.c Tue Jan 16 21:33:05 2007 +*************** +*** 668,669 **** +--- 668,671 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 188, + /**/ + +-- +Due knot trussed yore spell chequer two fined awl miss steaks. + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ download, build and distribute -- http://www.A-A-P.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org ///