To: vim-dev@vim.org Subject: Patch 7.2b.002 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 7.2b.002 Problem: Compiler warnings for signed/unsigned mismatch. Solution: Add type casts. Files: src/screen.c *** ../vim-7.2b.001/src/screen.c Sun Jul 13 19:15:19 2008 --- src/screen.c Mon Jul 14 11:43:00 2008 *************** *** 6269,6275 **** && !gui.in_use # endif && mb_fix_col(col, row) != col) ! screen_puts_len(" ", 1, row, col - 1, 0); #endif off = LineOffset[row] + col; --- 6269,6275 ---- && !gui.in_use # endif && mb_fix_col(col, row) != col) ! screen_puts_len((char_u *)" ", 1, row, col - 1, 0); #endif off = LineOffset[row] + col; *************** *** 7139,7147 **** * double wide-char clear out the right halve. Only needed in a * terminal. */ if (mb_fix_col(start_col, row) != start_col) ! screen_puts_len(" ", 1, row, start_col - 1, 0); if (mb_fix_col(end_col, row) != end_col) ! screen_puts_len(" ", 1, row, end_col, 0); } #endif /* --- 7139,7147 ---- * double wide-char clear out the right halve. Only needed in a * terminal. */ if (mb_fix_col(start_col, row) != start_col) ! screen_puts_len((char_u *)" ", 1, row, start_col - 1, 0); if (mb_fix_col(end_col, row) != end_col) ! screen_puts_len((char_u *)" ", 1, row, end_col, 0); } #endif /* *** ../vim-7.2b.001/src/version.c Mon Jul 14 11:51:41 2008 --- src/version.c Mon Jul 14 19:49:36 2008 *************** *** 678,679 **** --- 678,681 ---- { /* Add new patch number below this line */ + /**/ + 2, /**/ -- hundred-and-one symptoms of being an internet addict: 231. You sprinkle Carpet Fresh on the rugs and put your vacuum cleaner in the front doorway permanently so it always looks like you are actually attempting to do something about that mess that has amassed since you discovered the Internet. /// 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 ///