]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_calc_absolute_position): Declare nchildren unsigned.
authorDave Love <fx@gnu.org>
Mon, 5 Jun 2000 14:19:33 +0000 (14:19 +0000)
committerDave Love <fx@gnu.org>
Mon, 5 Jun 2000 14:19:33 +0000 (14:19 +0000)
src/xterm.c

index ba719f7689794c175b8297f6c318a43244e4a73a..ef81aa7bb91d7a56795458dcf4085874b129ad08 100644 (file)
@@ -11141,7 +11141,10 @@ xim_initialize (dpyinfo, resource_name)
   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 @@ x_calc_absolute_position (f)
            {
              Window newroot, newparent = 0xdeadbeef;
              Window *newchildren;
-             int nchildren;
+             unsigned int nchildren;
 
              if (! XQueryTree (FRAME_X_DISPLAY (f), this_window, &newroot,
                                &newparent, &newchildren, &nchildren))