summaryrefslogtreecommitdiffstats
path: root/sway/layout.c
diff options
context:
space:
mode:
authorLibravatar minus <minus@mnus.de>2015-08-21 16:53:11 +0200
committerLibravatar minus <minus@mnus.de>2015-08-21 16:53:11 +0200
commit8dfaf6265be52a582cc990f4332808d55063766f (patch)
treef31d5042629c27a6fbba0cb73f2b93433dce247a /sway/layout.c
parentMinor style fix (diff)
downloadsway-8dfaf6265be52a582cc990f4332808d55063766f.tar.gz
sway-8dfaf6265be52a582cc990f4332808d55063766f.tar.zst
sway-8dfaf6265be52a582cc990f4332808d55063766f.zip
fixed #108 signed/unsigned comparison
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c2
1 files changed, 1 insertions, 1 deletions
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
114 sway_log(L_DEBUG, "Moved window"); 114 sway_log(L_DEBUG, "Moved window");
115 swayc_t *temp; 115 swayc_t *temp;
116 int i; 116 int i;
117 uint clength = root->children->length; 117 int clength = root->children->length;
118 //Rearrange 118 //Rearrange
119 for (i = 0; i < clength; ++i) { 119 for (i = 0; i < clength; ++i) {
120 swayc_t *child = root->children->items[i]; 120 swayc_t *child = root->children->items[i];