mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
use consistent types
This commit is contained in:
4
screen.c
4
screen.c
@ -37,7 +37,7 @@ screen_init(int which)
|
||||
Window *wins, w0, w1;
|
||||
XWindowAttributes winattr;
|
||||
XSetWindowAttributes rootattr;
|
||||
u_int nwins, i;
|
||||
unsigned int nwins, i;
|
||||
|
||||
sc = xcalloc(1, sizeof(*sc));
|
||||
|
||||
@ -105,7 +105,7 @@ screen_updatestackingorder(struct screen_ctx *sc)
|
||||
{
|
||||
Window *wins, w0, w1;
|
||||
struct client_ctx *cc;
|
||||
u_int nwins, i, s;
|
||||
unsigned int nwins, i, s;
|
||||
|
||||
if (!XQueryTree(X_Dpy, sc->rootwin, &w0, &w1, &wins, &nwins))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user