aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-06 11:01:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-13 10:04:29 +0000
commitd29c3cf7b76c6a1935684124b4d7cad69de94c78 (patch)
tree507c0c3aca15c7539972da49d93471d6c20452d2 /terminal.c
parentconfig: add value_to_str() (diff)
config: add {str,value}_to_uint{16,32}()
This allows us to pass the final pointer directly to the conversion functions, as well as allowing us to print outside-range errors.
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 910a8857..55c29f40 100644
--- a/terminal.c
+++ b/terminal.c
@@ -580,7 +580,7 @@ fdm_title_update_timeout(struct fdm *fdm, int fd, int events, void *data)
static bool
initialize_render_workers(struct terminal *term)
{
- LOG_INFO("using %zu rendering threads", term->render.workers.count);
+ LOG_INFO("using %hu rendering threads", term->render.workers.count);
if (sem_init(&term->render.workers.start, 0, 0) < 0 ||
sem_init(&term->render.workers.done, 0, 0) < 0)