aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-21 10:56:56 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-21 10:56:56 -0400
commit034358dbfd07e013417bafcbcc819ddad90a2f21 (patch)
treef31d5042629c27a6fbba0cb73f2b93433dce247a /sway/layout.c
parent7ecb55f218666ec5c30371eeb9e5982a487fdb4b (diff)
parent8dfaf6265be52a582cc990f4332808d55063766f (diff)
Merge pull request #110 from minus7/sign-comparsion-fix
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
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];