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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220613213439.A8A261C06E5%40moolenaar.net.