summaryrefslogtreecommitdiffstats
path: root/sway/debug_log.c
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-04-17 16:26:26 +0200
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-04-17 16:51:33 +0200
commitf39034a55f6303c4729a72722a7e1c34d93936af (patch)
treeee675dd29adbc678307fafe1a22163d8b2cf4c4e /sway/debug_log.c
parentAdd support for pango markup (diff)
downloadsway-f39034a55f6303c4729a72722a7e1c34d93936af.tar.gz
sway-f39034a55f6303c4729a72722a7e1c34d93936af.tar.zst
sway-f39034a55f6303c4729a72722a7e1c34d93936af.zip
Use correct format string for x86_64 and i686
Fix #587
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) {
26 fprintf(stderr,"|(%p)",c); 26 fprintf(stderr,"|(%p)",c);
27 fprintf(stderr,"(p:%-8p)",c->parent); 27 fprintf(stderr,"(p:%-8p)",c->parent);
28 fprintf(stderr,"(f:%-8p)",c->focused); 28 fprintf(stderr,"(f:%-8p)",c->focused);
29 fprintf(stderr,"(h:%2ld)",c->handle); 29 fprintf(stderr,"(h:%2" PRIuPTR ")",c->handle);
30 fprintf(stderr,"Type:%-4s|", 30 fprintf(stderr,"Type:%-4s|",
31 c->type == C_ROOT ? "root" : 31 c->type == C_ROOT ? "root" :
32 c->type == C_OUTPUT ? "op" : 32 c->type == C_OUTPUT ? "op" :