mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Remove clang warnings (-Wsign-compare)
This commit is contained in:
parent
837283098e
commit
60731ffba1
1 changed files with 7 additions and 7 deletions
|
@ -393,8 +393,8 @@ static void adjust_border_geometry(swayc_t *c, struct wlc_geometry *g,
|
||||||
g->size.h = res->h - g->origin.y + top;
|
g->size.h = res->h - g->origin.y + top;
|
||||||
}
|
}
|
||||||
|
|
||||||
g->origin.x = MIN(MAX( g->origin.x - left, 0), res->w);
|
g->origin.x = MIN((uint32_t)MAX(g->origin.x - left, 0), res->w);
|
||||||
g->origin.y = MIN(MAX( g->origin.y - top, 0), res->h);
|
g->origin.y = MIN((uint32_t)MAX(g->origin.y - top, 0), res->h);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue