diff options
-rw-r--r-- | src/XRes.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -118,7 +118,7 @@ XResQueryClients(Display *dpy, int *num_clients, XResClient **clients) clnts = NULL; if (clnts != NULL) { - for (int i = 0; i < rep.num_clients; i++) { + for (CARD32 i = 0; i < rep.num_clients; i++) { xXResClient scratch; _XRead(dpy, (char *) &scratch, sz_xXResClient); @@ -173,7 +173,7 @@ XResQueryClientResources(Display *dpy, XID xid, typs = NULL; if (typs != NULL) { - for (int i = 0; i < rep.num_types; i++) { + for (CARD32 i = 0; i < rep.num_types; i++) { xXResType scratch; _XRead(dpy, (char *) &scratch, sz_xXResType); |