summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-10-01 06:40:16 -0500
committerFurkan Sahin <furkan-dev@proton.me>2016-10-01 06:40:16 -0500
commit1c4cffa2043447c6e9e108b5ac3227c449efbbc9 (patch)
treefb508c60fd1d5d289968bdd823ef739b7b9d6814
parent1327180d364f8ca1022cb023f37f27fbc24b0060 (diff)
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