Commit 717c30e0 authored by Paul Eggert's avatar Paul Eggert
Browse files

* xfns.c (x_real_positions): Fix signedness of local var 'ign'.

XGetGeometry wants unsigned int *, not int *, for its last 4 args,
so change the type of 'ign' to unsigned int from int.
parent 8865d794
2011-01-17 Paul Eggert <eggert@cs.ucla.edu>
 
* xfns.c (x_real_positions): Fix signedness of local var 'ign'.
XGetGeometry wants unsigned int *, not int *, for its last 4 args,
so change the type of 'ign' to unsigned int from int.
* regex.c (analyse_first): Remove unreachable 'continue' statement.
 
* xterm.h (struct x_display_info): Remove stray semicolon.
......
......@@ -629,7 +629,7 @@ x_real_positions (FRAME_PTR f, int *xptr, int *yptr)
if (rc == Success && actual_type == target_type && !x_had_errors_p (dpy)
&& actual_size == 4 && actual_format == 32)
{
int ign;
unsigned int ign;
Window rootw;
long *fe = (long *)tmp_data;
......@@ -6104,4 +6104,3 @@ When using Gtk+ tooltips, the tooltip face is not used. */);
}
#endif /* HAVE_X_WINDOWS */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment