# HG changeset patch
# User Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
# Date 1371851760 -32400
#      Sat Jun 22 06:56:00 2013 +0900
# Node ID 820d57aa5819a663f3723717ecf49108d69c9eae
# Parent  fcd8be7591575a3bd4cdb1ce729ef395e3f489c6
Implicit type conversions from char* to char_u* scatterd in find_replace_dialog_create() are centralized at set_label() as a single explicit type conversion.

diff -r fcd8be759157 -r 820d57aa5819 src/gui_motif.c
--- a/src/gui_motif.c	Fri Jun 21 18:31:23 2013 +0200
+++ b/src/gui_motif.c	Sat Jun 22 06:56:00 2013 +0900
@@ -3653,7 +3653,7 @@
     static void
 set_label(w, label)
     Widget w;
-    char_u *label;
+    char *label;
 {
     XmString	str;
     char_u	*p, *next;
@@ -3662,7 +3662,7 @@
     if (!w)
 	return;
 
-    p = vim_strsave(label);
+    p = vim_strsave((char_u *)label);
     if (p == NULL)
 	return;
     for (next = p; *next; ++next)
