diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2023-01-11 12:13:53 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-01-15 02:09:18 +0000 |
commit | 0151bd48ddef6c7679b1fd6fcce9db6340ab80d0 (patch) | |
tree | a9ce10a7994c3d7b06272966def6a8f539d9c07a /client.h | |
parent | 337d6ba3fbec3379162a1a287028fce363488197 (diff) |
turn on -Wsign-compare
Diffstat (limited to 'client.h')
-rw-r--r-- | client.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -339,10 +339,10 @@ client_set_size(Client *c, uint32_t width, uint32_t height) return 0; } #endif - if (width == c->surface.xdg->toplevel->current.width - && height ==c->surface.xdg->toplevel->current.height) + if ((int32_t)width == c->surface.xdg->toplevel->current.width + && (int32_t)height == c->surface.xdg->toplevel->current.height) return 0; - return wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, width, height); + return wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, (int32_t)width, (int32_t)height); } static inline void |