To: vim_dev@googlegroups.com Subject: Patch 8.2.5085 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.5085 Problem: Gcc gives warning for signed/unsigned difference. Solution: Use a different pointer type. (John Marriott) Files: src/os_mswin.c *** ../vim-8.2.5084/src/os_mswin.c 2022-06-13 21:42:40.945531339 +0100 --- src/os_mswin.c 2022-06-13 22:32:48.196764945 +0100 *************** *** 664,670 **** display_errors(void) { # ifdef FEAT_GUI ! char *p; # ifdef VIMDLL if (gui.in_use || gui.starting) --- 664,670 ---- display_errors(void) { # ifdef FEAT_GUI ! char_u *p; # ifdef VIMDLL if (gui.in_use || gui.starting) *************** *** 673,679 **** if (error_ga.ga_data != NULL) { // avoid putting up a message box with blanks only ! for (p = (char *)error_ga.ga_data; *p; ++p) if (!isspace(*p)) { // Only use a dialog when not using --gui-dialog-file: --- 673,679 ---- if (error_ga.ga_data != NULL) { // avoid putting up a message box with blanks only ! for (p = (char_u *)error_ga.ga_data; *p; ++p) if (!isspace(*p)) { // Only use a dialog when not using --gui-dialog-file: *************** *** 684,690 **** VIM_ERROR, gui.starting ? (char_u *)_("Message") : (char_u *)_("Error"), ! (char_u *)p, (char_u *)_("&Ok"), 1, NULL, FALSE); break; } --- 684,690 ---- VIM_ERROR, gui.starting ? (char_u *)_("Message") : (char_u *)_("Error"), ! p, (char_u *)_("&Ok"), 1, NULL, FALSE); break; } *** ../vim-8.2.5084/src/version.c 2022-06-13 21:42:40.949531347 +0100 --- src/version.c 2022-06-13 22:33:48.428723127 +0100 *************** *** 736,737 **** --- 736,739 ---- { /* Add new patch number below this line */ + /**/ + 5085, /**/ -- How do you know when you have run out of invisible ink? /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///