diff src/event-Xt.c @ 2956:ee35a8fdcfcd

[xemacs-hg @ 2005-09-27 05:29:41 by ben] fix compilation warnings text.c, event-Xt.c, lisp.h, number-gmp.c, number-gmp.h: Fix compilation warnings. A couple of changes of new -> new_, 'foo -> `foo'.
author ben
date Tue, 27 Sep 2005 05:29:45 +0000
parents ade0c13d91a3
children 4c038e89d563
line wrap: on
line diff
--- a/src/event-Xt.c	Mon Sep 26 22:19:05 2005 +0000
+++ b/src/event-Xt.c	Tue Sep 27 05:29:45 2005 +0000
@@ -1314,7 +1314,8 @@
 		      Ibyte *dataint;
 		      len = strlen (data);
 		      EXTERNAL_TO_C_STRING (data, dataint, Qfile_name);
-		      hurl = dnd_url_hexify_string (dataint, "file:");
+		      hurl = dnd_url_hexify_string (dataint,
+						    (const Ibyte *) "file:");
 		      l_item = build_intstring (hurl);
 		      l_dndlist = Fcons (l_item, l_dndlist);
 		      data += len + 1;
@@ -3144,14 +3145,14 @@
 
 static XtInitProc orig_shell_init_proc;
 
-static void ShellVisualPatch(Widget wanted, Widget new,
+static void ShellVisualPatch(Widget wanted, Widget new_,
 			     ArgList args, Cardinal *num_args)
 {
   Widget p;
-  ShellWidget w = (ShellWidget) new;
+  ShellWidget w = (ShellWidget) new_;
 
   /* first, call the original setup */
-  (*orig_shell_init_proc)(wanted, new, args, num_args);
+  (*orig_shell_init_proc)(wanted, new_, args, num_args);
 
   /* if the visual isn't explicitly set, grab it from the nearest shell ancestor */
   if (w->shell.visual == CopyFromParent) {