To: vim-dev@vim.org Subject: Patch 6.1.458 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.458 Problem: Compiler warning for pointer. Solution: Add a typecast. Files: src/ex_cmds.c *** ../vim61.457/src/ex_cmds.c Sun Apr 13 17:43:15 2003 --- src/ex_cmds.c Fri Apr 11 10:50:00 2003 *************** *** 5111,5117 **** s = ((char_u **)ga.ga_data)[i]; if (STRNCMP(s, "help-tags\t", 10) == 0) /* help-tags entry was added in formatted form */ ! fprintf(fd_tags, s); else { fprintf(fd_tags, "%s\t/*", s); --- 5111,5117 ---- s = ((char_u **)ga.ga_data)[i]; if (STRNCMP(s, "help-tags\t", 10) == 0) /* help-tags entry was added in formatted form */ ! fprintf(fd_tags, (char *)s); else { fprintf(fd_tags, "%s\t/*", s); *** ../vim61.457/src/version.c Sun Apr 13 17:43:15 2003 --- src/version.c Sun Apr 13 19:57:19 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 458, /**/ -- Why i like vim: > I like VIM because, when I ask a question in this newsgroup, I get a > one-line answer. With xemacs, I get a 1Kb lisp script with bugs in it ;-) /// 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 /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///