From 8dfaf6265be52a582cc990f4332808d55063766f Mon Sep 17 00:00:00 2001 From: minus Date: Fri, 21 Aug 2015 16:53:11 +0200 Subject: fixed #108 signed/unsigned comparison --- sway/layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/layout.c') diff --git a/sway/layout.c b/sway/layout.c index 7eaa9ea4..573c6f70 100644 --- a/sway/layout.c +++ b/sway/layout.c @@ -114,7 +114,7 @@ void move_container(swayc_t *container,swayc_t* root,enum movement_direction dir sway_log(L_DEBUG, "Moved window"); swayc_t *temp; int i; - uint clength = root->children->length; + int clength = root->children->length; //Rearrange for (i = 0; i < clength; ++i) { swayc_t *child = root->children->items[i]; -- cgit v1.2.3