mirror of
https://github.com/swaywm/sway.git
synced 2026-04-27 06:46:25 -04:00
common: adjust sway_log for 32-bit architectures after d7d29fe546
common/ipc-client.c:78:4: error: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Werror,-Wformat]
tv.tv_sec, tv.tv_usec);
^~~~~~~~~
include/log.h:40:74: note: expanded from macro 'sway_log'
_sway_log(verb, "[%s:%d] " fmt, _sway_strip_path(__FILE__), __LINE__, ##__VA_ARGS__)
^~~~~~~~~~~
This commit is contained in:
parent
bd32b300fb
commit
038482cb35
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ bool ipc_set_recv_timeout(int socketfd, struct timeval tv) {
|
|||
return false;
|
||||
}
|
||||
sway_log(SWAY_DEBUG, "ipc recv timeout set to %ld.%06ld",
|
||||
tv.tv_sec, tv.tv_usec);
|
||||
(long)tv.tv_sec, (long)tv.tv_usec);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue