0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.3.1225

Problem:    Compiler warnings when building with Motif.
Solution:   Change set_label() argument. (Kazunobu Kuriyama)
This commit is contained in:
Bram Moolenaar
2013-06-22 13:00:16 +02:00
parent fe70acb376
commit 3dbcd0c7ad
2 changed files with 4 additions and 2 deletions

View File

@@ -3653,7 +3653,7 @@ find_replace_keypress(w, frdp, event)
static void static void
set_label(w, label) set_label(w, label)
Widget w; Widget w;
char_u *label; char *label;
{ {
XmString str; XmString str;
char_u *p, *next; char_u *p, *next;
@@ -3662,7 +3662,7 @@ set_label(w, label)
if (!w) if (!w)
return; return;
p = vim_strsave(label); p = vim_strsave((char_u *)label);
if (p == NULL) if (p == NULL)
return; return;
for (next = p; *next; ++next) for (next = p; *next; ++next)

View File

@@ -728,6 +728,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 */
/**/
1225,
/**/ /**/
1224, 1224,
/**/ /**/