about summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2013-07-10 14:11:42 +0000
committerokan <okan>2013-07-10 14:11:42 +0000
commit95710383580ecf66a58f27ecaa62dfe6c714c682 (patch)
treee4acbcdba29357efe8925dc298fc201216810587
parentdd10412804923a5e1b2aab46ab94c4f8e29696fb (diff)
downloadcwm-95710383580ecf66a58f27ecaa62dfe6c714c682.tar.gz
cwm-95710383580ecf66a58f27ecaa62dfe6c714c682.tar.xz
cwm-95710383580ecf66a58f27ecaa62dfe6c714c682.zip
type fixes
-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;