summaryrefslogtreecommitdiff
path: root/sway/debug_log.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/debug_log.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/debug_log.c')
-rw-r--r--sway/debug_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/debug_log.c b/sway/debug_log.c
index 6fd6422f..761dca6c 100644
--- a/sway/debug_log.c
+++ b/sway/debug_log.c
@@ -26,7 +26,7 @@ static void container_log(const swayc_t *c, int depth) {
fprintf(stderr,"|(%p)",c);
fprintf(stderr,"(p:%-8p)",c->parent);
fprintf(stderr,"(f:%-8p)",c->focused);
- fprintf(stderr,"(h:%2ld)",c->handle);
+ fprintf(stderr,"(h:%2" PRIuPTR ")",c->handle);
fprintf(stderr,"Type:%-4s|",
c->type == C_ROOT ? "root" :
c->type == C_OUTPUT ? "op" :