mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-01 07:15:32 -04:00
render: fix printf-errors in 32-bit builds
This commit is contained in:
parent
17070a0d54
commit
6e0171ee44
1 changed files with 3 additions and 2 deletions
5
render.c
5
render.c
|
|
@ -1770,8 +1770,9 @@ grid_render(struct terminal *term)
|
||||||
timersub(&end_time, &start_time, &render_time);
|
timersub(&end_time, &start_time, &render_time);
|
||||||
|
|
||||||
if (term->conf->tweak.render_timer_log) {
|
if (term->conf->tweak.render_timer_log) {
|
||||||
LOG_INFO("frame rendered in %lds %ld µs",
|
LOG_INFO("frame rendered in %llds %lld µs",
|
||||||
render_time.tv_sec, render_time.tv_usec);
|
(long long)render_time.tv_sec,
|
||||||
|
(long long)render_time.tv_usec);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (term->conf->tweak.render_timer_osd)
|
if (term->conf->tweak.render_timer_osd)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue