mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-15 08:21:03 -04:00
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.
This commit is contained in:
parent
3b27a665da
commit
d29c3cf7b7
5 changed files with 93 additions and 107 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue