From d29c3cf7b76c6a1935684124b4d7cad69de94c78 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 6 Nov 2021 12:01:57 +0100 Subject: 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. --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'terminal.c') 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) -- cgit v1.3