aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-10-01 10:56:54 -0400
committerGitHub <noreply@github.com>2016-10-01 10:56:54 -0400
commit79d2b0dee4362b6b2b25734ed7e24c698e7067b8 (patch)
treefb508c60fd1d5d289968bdd823ef739b7b9d6814
parenta4a5f620158ebebf2ddac4712a8da16e3764d419 (diff)
parent58ac1f7f247f19bf4adbbb8bd76826c72b906559 (diff)
downloadsway-79d2b0dee4362b6b2b25734ed7e24c698e7067b8.tar.xz
Merge pull request #921 from zandrmartin/patch-3
fix pointer format string in sway_log() call
-rw-r--r--sway/focus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/focus.c b/sway/focus.c
index b94dcbc7..35dff1e4 100644
--- a/sway/focus.c
+++ b/sway/focus.c
@@ -114,7 +114,7 @@ bool set_focused_container(swayc_t *c) {
c = get_focused_container(workspace);
}
- swayc_log(L_DEBUG, c, "Setting focus to %p:%lu" PRIuPTR, c, c->handle);
+ swayc_log(L_DEBUG, c, "Setting focus to %p:%" PRIuPTR, c, c->handle);
if (c->type == C_VIEW) {
// dispatch a window event