fixed #108 signed/unsigned comparison

This commit is contained in:
minus 2015-08-21 16:53:11 +02:00
parent 7ecb55f218
commit 8dfaf6265b
7 changed files with 20 additions and 16 deletions

View file

@ -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];