summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA Frederick Christensen <dwl@ivories.org>2024-01-26 08:54:53 -0600
committerA Frederick Christensen <dwl@ivories.org>2024-01-26 23:12:35 -0600
commit9830a991ff3d310223fb8389d108423b914afb67 (patch)
treee535a601fc35fe2c5dfdd5255b553c67c29a938e
parent863634a61cd953ea82d5fd1e4fa4d04e8b48a23f (diff)
Correct specifier-data_type mismatches
-rw-r--r--dwl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dwl.c b/dwl.c
index c8283b7..3fac808 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1823,8 +1823,8 @@ printstatus(void)
appid = client_get_appid(c);
printf("%s title %s\n", m->wlr_output->name, title ? title : broken);
printf("%s appid %s\n", m->wlr_output->name, appid ? appid : broken);
- printf("%s fullscreen %u\n", m->wlr_output->name, c->isfullscreen);
- printf("%s floating %u\n", m->wlr_output->name, c->isfloating);
+ printf("%s fullscreen %d\n", m->wlr_output->name, c->isfullscreen);
+ printf("%s floating %d\n", m->wlr_output->name, c->isfloating);
sel = c->tags;
} else {
printf("%s title \n", m->wlr_output->name);
@@ -1835,8 +1835,8 @@ printstatus(void)
}
printf("%s selmon %u\n", m->wlr_output->name, m == selmon);
- printf("%s tags %u %u %u %u\n", m->wlr_output->name, occ,
- m->tagset[m->seltags], sel, urg);
+ printf("%s tags %"PRIu32" %"PRIu32" %"PRIu32" %"PRIu32"\n",
+ m->wlr_output->name, occ, m->tagset[m->seltags], sel, urg);
printf("%s layout %s\n", m->wlr_output->name, m->ltsymbol);
}
fflush(stdout);