fix most of build warnings on openbsd

sorry openbsd people, we're not going to use the snprintf function.
This commit is contained in:
Maxim Solovyov
2024-02-14 02:10:16 +03:00
parent f179119d84
commit 53dd8a4e66
5 changed files with 12 additions and 12 deletions

View File

@@ -470,7 +470,8 @@ void win_process_update_flags(session_t *ps, struct managed_win *w) {
// Whether the window was visible before we process the mapped flag. i.e.
// is the window just mapped.
bool was_visible = win_is_real_visible(w);
log_trace("Processing flags for window %#010x (%s), was visible: %d, flags: %#lx",
log_trace("Processing flags for window %#010x (%s), was visible: %d, flags: "
"%#" PRIx64,
w->base.id, w->name, was_visible, w->flags);
if (win_check_flags_all(w, WIN_FLAGS_MAPPED)) {