To: vim-dev@vim.org Subject: Patch 6.1.396 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.396 (depends on 6.1.330) Problem: Compiler warnings for using enum. Solution: Add typecast to char_u. Files: src/gui_gtk_x11.c, src/gui_x11.c *** ../vim61.395/src/gui_gtk_x11.c Tue Mar 11 12:59:06 2003 --- src/gui_gtk_x11.c Tue Mar 11 10:32:16 2003 *************** *** 204,211 **** {GDK_KP_Right, 'k', 'r'}, {GDK_KP_Up, 'k', 'u'}, {GDK_KP_Down, 'k', 'd'}, ! {GDK_KP_Insert, KS_EXTRA, KE_KINS}, ! {GDK_KP_Delete, KS_EXTRA, KE_KDEL}, {GDK_KP_Home, 'K', '1'}, {GDK_KP_End, 'K', '4'}, {GDK_KP_Prior, 'K', '3'}, /* page up */ --- 204,211 ---- {GDK_KP_Right, 'k', 'r'}, {GDK_KP_Up, 'k', 'u'}, {GDK_KP_Down, 'k', 'd'}, ! {GDK_KP_Insert, KS_EXTRA, (char_u)KE_KINS}, ! {GDK_KP_Delete, KS_EXTRA, (char_u)KE_KDEL}, {GDK_KP_Home, 'K', '1'}, {GDK_KP_End, 'K', '4'}, {GDK_KP_Prior, 'K', '3'}, /* page up */ *** ../vim61.395/src/gui_x11.c Sat Mar 8 20:33:32 2003 --- src/gui_x11.c Sat Mar 8 17:36:29 2003 *************** *** 220,227 **** {XK_KP_Right, 'k', 'r'}, {XK_KP_Up, 'k', 'u'}, {XK_KP_Down, 'k', 'd'}, ! {XK_KP_Insert, KS_EXTRA, KE_KINS}, ! {XK_KP_Delete, KS_EXTRA, KE_KDEL}, {XK_KP_Home, 'K', '1'}, {XK_KP_End, 'K', '4'}, {XK_KP_Prior, 'K', '3'}, --- 220,227 ---- {XK_KP_Right, 'k', 'r'}, {XK_KP_Up, 'k', 'u'}, {XK_KP_Down, 'k', 'd'}, ! {XK_KP_Insert, KS_EXTRA, (char_u)KE_KINS}, ! {XK_KP_Delete, KS_EXTRA, (char_u)KE_KDEL}, {XK_KP_Home, 'K', '1'}, {XK_KP_End, 'K', '4'}, {XK_KP_Prior, 'K', '3'}, *** ../vim61.395/src/version.c Sat Mar 15 16:20:20 2003 --- src/version.c Sat Mar 15 16:22:03 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 396, /**/ -- From "know your smileys": y:-) Bad toupee /// 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 ///