Mercurial > vim
changeset 4960:27b008d5b7ac v7.3.1225
updated for version 7.3.1225
Problem: Compiler warnings when building with Motif.
Solution: Change set_label() argument. (Kazunobu Kuriyama)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 22 Jun 2013 13:00:16 +0200 |
parents | fcd8be759157 |
children | 020c48b4fb47 |
files | src/gui_motif.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)