summaryrefslogtreecommitdiff
path: root/sway/focus.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2016-04-17 11:08:29 -0400
committerDrew DeVault <[email protected]>2016-04-17 11:08:29 -0400
commit083316c5cec77a20d29857b2c2743cbc6ded827b (patch)
treeee675dd29adbc678307fafe1a22163d8b2cf4c4e /sway/focus.c
parent2a0836e3bd86efc3e6eabc039aace6839684ef63 (diff)
parentf39034a55f6303c4729a72722a7e1c34d93936af (diff)
Merge pull request #590 from mikkeloscar/i686-warnings
Use correct format string for x86_64 and i686
Diffstat (limited to 'sway/focus.c')
-rw-r--r--sway/focus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/focus.c b/sway/focus.c
index 93391c63..cdc9a888 100644
--- a/sway/focus.c
+++ b/sway/focus.c
@@ -105,7 +105,7 @@ bool set_focused_container(swayc_t *c) {
active_ws_child_count = active_ws->children->length + active_ws->floating->length;
}
- swayc_log(L_DEBUG, c, "Setting focus to %p:%ld", c, c->handle);
+ swayc_log(L_DEBUG, c, "Setting focus to %p:%" PRIuPTR, c, c->handle);
// Get workspace for c, get that workspaces current focused container.
swayc_t *workspace = swayc_active_workspace_for(c);
@@ -196,7 +196,7 @@ bool set_focused_container_for(swayc_t *a, swayc_t *c) {
return set_focused_container(c);
}
- sway_log(L_DEBUG, "Setting focus for %p:%ld to %p:%ld",
+ sway_log(L_DEBUG, "Setting focus for %p:%" PRIuPTR " to %p:%" PRIuPTR,
a, a->handle, c, c->handle);
c->is_focused = true;