To: vim-dev@vim.org Subject: Patch 6.1.289 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.289 Problem: Compiler warning for pointer. (Axel Kielhorn) Solution: Add a typecast for " ". Files: src/screen.c *** ../vim61.288/src/screen.c Mon Jan 6 20:19:10 2003 --- src/screen.c Tue Jan 14 10:35:51 2003 *************** *** 1992,2002 **** # ifdef FEAT_RIGHTLEFT if (wp->w_p_rl) /* the line number isn't reversed */ ! copy_text_attr(off + W_WIDTH(wp) - len - col, " ", len, ! hl_attr(HLF_FL)); else # endif ! copy_text_attr(off + col, " ", len, hl_attr(HLF_FL)); col += len; } } --- 1999,2009 ---- # ifdef FEAT_RIGHTLEFT if (wp->w_p_rl) /* the line number isn't reversed */ ! copy_text_attr(off + W_WIDTH(wp) - len - col, ! (char_u *)" ", len, hl_attr(HLF_FL)); else # endif ! copy_text_attr(off + col, (char_u *)" ", len, hl_attr(HLF_FL)); col += len; } } *** ../vim61.288/src/version.c Sun Jan 12 13:28:21 2003 --- src/version.c Tue Jan 14 10:36:55 2003 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 289, /**/ -- BEDEVERE: Stand by for attack!! [CUT TO enormous army forming up. Trebuchets, rows of PIKEMEN, siege towers, pennants flying, shouts of "Stand by for attack!" Traditional army build-up shots. The shouts echo across the ranks of the army. We see various groups reacting, and stirring themselves in readiness.] ARTHUR: Who are they? BEDEVERE: Oh, just some friends! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///