changeset 29435:28c6b6d0ed6b

(x_calc_absolute_position): Declare nchildren unsigned.
author Dave Love <fx@gnu.org>
date Mon, 05 Jun 2000 14:19:33 +0000
parents 3d157c3d1f51
children d0b424336374
files src/xterm.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Jun 05 14:15:24 2000 +0000
+++ b/src/xterm.c	Mon Jun 05 14:19:33 2000 +0000
@@ -11141,7 +11141,10 @@
   XRegisterIMInstantiateCallback (dpyinfo->display, dpyinfo->xrdb,
 				  resource_name, EMACS_CLASS,
 				  xim_instantiate_callback,
-				  (XPointer)xim_inst);
+				  /* Fixme: This is XPointer in
+				     XFree86 but (XPointer *) on
+				     Tru64, at least.  */
+				  (XPointer) xim_inst);
 #else /* not HAVE_X11R6_XIM */
   dpyinfo->xim = NULL;
   xim_open_dpy (dpyinfo, resource_name);
@@ -11219,7 +11222,7 @@
 	    {
 	      Window newroot, newparent = 0xdeadbeef;
 	      Window *newchildren;
-	      int nchildren;
+	      unsigned int nchildren;
 
 	      if (! XQueryTree (FRAME_X_DISPLAY (f), this_window, &newroot,
 				&newparent, &newchildren, &nchildren))