summaryrefslogtreecommitdiff
path: root/src/gui_motif.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-22 13:00:16 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-22 13:00:16 +0200
commit3dbcd0c7ad93533f46981ebafe6710c1e03b1be2 (patch)
treea8edfd84320804f679ea93dab3d34dc3168f97db /src/gui_motif.c
parentfe70acb3767ef10badd2eeb9928988c39ebebae8 (diff)
downloadvim-git-3dbcd0c7ad93533f46981ebafe6710c1e03b1be2.tar.gz
updated for version 7.3.1225v7.3.1225
Problem: Compiler warnings when building with Motif. Solution: Change set_label() argument. (Kazunobu Kuriyama)
Diffstat (limited to 'src/gui_motif.c')
-rw-r--r--src/gui_motif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c
index 5b6c7a764..57f264df9 100644
--- a/src/gui_motif.c
+++ b/src/gui_motif.c
@@ -3653,7 +3653,7 @@ find_replace_keypress(w, frdp, event)
static void
set_label(w, label)
Widget w;
- char_u *label;
+ char *label;
{
XmString str;
char_u *p, *next;
@@ -3662,7 +3662,7 @@ set_label(w, label)
if (!w)
return;
- p = vim_strsave(label);
+ p = vim_strsave((char_u *)label);
if (p == NULL)
return;
for (next = p; *next; ++next)