diff options
author | Drew DeVault <[email protected]> | 2015-08-16 22:16:09 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-08-16 22:16:09 -0400 |
commit | be2635daa6b041de4dfb24952e96779a505b1b09 (patch) | |
tree | 2da12902f9b74735117a1f886b38c568102b74ec /sway/handlers.c | |
parent | cb504c8f7b0face15a29de5b3b9f12ffe8bc6848 (diff) |
Fix format warnings
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 9ee4f3cb..3e83b850 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -68,7 +68,7 @@ static void handle_output_destroyed(wlc_handle output) { } static void handle_output_resolution_change(wlc_handle output, const struct wlc_size *from, const struct wlc_size *to) { - sway_log(L_DEBUG, "Output %d resolution changed to %d x %d", output, to->w, to->h); + sway_log(L_DEBUG, "Output %u resolution changed to %d x %d", (unsigned int)output, to->w, to->h); swayc_t *c = get_swayc_for_handle(output, &root_container); if (!c) return; c->width = to->w; @@ -117,7 +117,7 @@ static bool handle_view_created(wlc_handle handle) { } static void handle_view_destroyed(wlc_handle handle) { - sway_log(L_DEBUG, "Destroying window %d", handle); + sway_log(L_DEBUG, "Destroying window %u", (unsigned int)handle); swayc_t *view = get_swayc_for_handle(handle, &root_container); swayc_t *parent; swayc_t *focused = get_focused_container(&root_container); |