mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-10 04:27:45 -05:00
fix printf-format errors in 32-bit builds
This commit is contained in:
parent
644859019e
commit
019b6bc039
4 changed files with 5 additions and 4 deletions
|
|
@ -53,6 +53,7 @@
|
|||
instead of every time the key binding is executed.
|
||||
* Incorrect multi-column character spacer insertion when reflowing
|
||||
text.
|
||||
* Compilation errors in 32-bit builds.
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
4
config.c
4
config.c
|
|
@ -1012,8 +1012,8 @@ parse_section_tweak(
|
|||
}
|
||||
|
||||
conf->tweak.max_shm_pool_size = min(mb * 1024 * 1024, INT32_MAX);
|
||||
LOG_WARN("tweak: max-shm-pool-size=%lu bytes",
|
||||
conf->tweak.max_shm_pool_size);
|
||||
LOG_WARN("tweak: max-shm-pool-size=%lld bytes",
|
||||
(long long)conf->tweak.max_shm_pool_size);
|
||||
}
|
||||
|
||||
else {
|
||||
|
|
|
|||
2
csi.c
2
csi.c
|
|
@ -336,7 +336,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
* _not_ preceeded by a graphical character.
|
||||
*/
|
||||
int count = vt_param_get(term, 0, 1);
|
||||
LOG_DBG("REP: '%C' %d times", term->vt.last_printed, count);
|
||||
LOG_DBG("REP: '%lc' %d times", (wint_t)term->vt.last_printed, count);
|
||||
|
||||
const int width = wcwidth(term->vt.last_printed);
|
||||
if (width > 0) {
|
||||
|
|
|
|||
2
search.c
2
search.c
|
|
@ -656,7 +656,7 @@ search_input(struct seat *seat, struct terminal *term, uint32_t key,
|
|||
term->search.buf[term->search.len] = L'\0';
|
||||
|
||||
update_search:
|
||||
LOG_DBG("search: buffer: %S", term->search.buf);
|
||||
LOG_DBG("search: buffer: %ls", term->search.buf);
|
||||
search_find_next(term);
|
||||
render_refresh_search(term);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue