mirror of
https://github.com/vim/vim.git
synced 2025-10-13 06:54:15 -04:00
patch 8.2.5085: gcc gives warning for signed/unsigned difference
Problem: Gcc gives warning for signed/unsigned difference. Solution: Use a different pointer type. (John Marriott)
This commit is contained in:
@@ -664,7 +664,7 @@ mch_suspend(void)
|
|||||||
display_errors(void)
|
display_errors(void)
|
||||||
{
|
{
|
||||||
# ifdef FEAT_GUI
|
# ifdef FEAT_GUI
|
||||||
char *p;
|
char_u *p;
|
||||||
|
|
||||||
# ifdef VIMDLL
|
# ifdef VIMDLL
|
||||||
if (gui.in_use || gui.starting)
|
if (gui.in_use || gui.starting)
|
||||||
@@ -673,7 +673,7 @@ display_errors(void)
|
|||||||
if (error_ga.ga_data != NULL)
|
if (error_ga.ga_data != NULL)
|
||||||
{
|
{
|
||||||
// avoid putting up a message box with blanks only
|
// avoid putting up a message box with blanks only
|
||||||
for (p = (char *)error_ga.ga_data; *p; ++p)
|
for (p = (char_u *)error_ga.ga_data; *p; ++p)
|
||||||
if (!isspace(*p))
|
if (!isspace(*p))
|
||||||
{
|
{
|
||||||
// Only use a dialog when not using --gui-dialog-file:
|
// Only use a dialog when not using --gui-dialog-file:
|
||||||
@@ -684,7 +684,7 @@ display_errors(void)
|
|||||||
VIM_ERROR,
|
VIM_ERROR,
|
||||||
gui.starting ? (char_u *)_("Message") :
|
gui.starting ? (char_u *)_("Message") :
|
||||||
(char_u *)_("Error"),
|
(char_u *)_("Error"),
|
||||||
(char_u *)p, (char_u *)_("&Ok"),
|
p, (char_u *)_("&Ok"),
|
||||||
1, NULL, FALSE);
|
1, NULL, FALSE);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
5085,
|
||||||
/**/
|
/**/
|
||||||
5084,
|
5084,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user