aboutsummaryrefslogtreecommitdiff
path: root/sway/debug_log.c
diff options
context:
space:
mode:
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" :