From 3dbcd0c7ad93533f46981ebafe6710c1e03b1be2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 22 Jun 2013 13:00:16 +0200 Subject: updated for version 7.3.1225 Problem: Compiler warnings when building with Motif. Solution: Change set_label() argument. (Kazunobu Kuriyama) --- src/gui_motif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui_motif.c') diff --git a/src/gui_motif.c b/src/gui_motif.c index 5b6c7a7643..57f264df95 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) -- cgit v1.2.3