Use correct format string for x86_64 and i686

Fix #587
This commit is contained in:
Mikkel Oscar Lyderik 2016-04-17 16:26:26 +02:00
parent 2a0836e3bd
commit f39034a55f
5 changed files with 13 additions and 13 deletions

View file

@ -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" :