summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XRes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XRes.c b/src/XRes.c
index 506ca9e..fd130a8 100644
--- a/src/XRes.c
+++ b/src/XRes.c
@@ -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);