summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--conf.c4
-rw-r--r--xutil.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/conf.c b/conf.c
index 576f623..89dc18c 100644
--- a/conf.c
+++ b/conf.c
@@ -99,8 +99,8 @@ static char *color_binds[] = {
 void
 conf_screen(struct screen_ctx *sc)
 {
-	int			 i;
-	XftColor		 xc;
+	u_int		 i;
+	XftColor	 xc;
 
 	sc->gap = Conf.gap;
 
diff --git a/xutil.c b/xutil.c
index f7f2000..f755a98 100644
--- a/xutil.c
+++ b/xutil.c
@@ -393,7 +393,7 @@ void
 xu_ewmh_handle_net_wm_state_msg(struct client_ctx *cc, int action,
     Atom first, Atom second)
 {
-	int i;
+	u_int i;
 	static struct handlers {
 		int atom;
 		int property;