diff options
author | 2019-01-06 12:19:01 +0000 | |
---|---|---|
committer | 2019-01-06 12:20:59 +0000 | |
commit | 4a11d0e470bcd6fd8cb7d18a35ebd460217b9a99 (patch) | |
tree | c5e156dde1594c301153a47ca633b9a0b8b2d5a8 /swayidle/main.c | |
parent | Merge pull request #3367 from oscarwcl/swaylock-fix-capslock (diff) | |
download | sway-4a11d0e470bcd6fd8cb7d18a35ebd460217b9a99.tar.gz sway-4a11d0e470bcd6fd8cb7d18a35ebd460217b9a99.tar.zst sway-4a11d0e470bcd6fd8cb7d18a35ebd460217b9a99.zip |
Use %z for printing size_t
../sway/desktop/transaction.c:367:17: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
transaction, transaction->num_waiting);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/wlr/util/log.h:56:72: note: expanded from macro 'wlr_log'
_wlr_log(verb, "[%s:%d] " fmt, _wlr_strip_path(__FILE__), __LINE__, ##__VA_ARGS__)
^~~~~~~~~~~
../sway/desktop/transaction.c:477:5: error: format specifies type 'long' but the argument has type 'unsigned int' [-Werror,-Wformat]
transaction->num_configures - transaction->num_waiting + 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/wlr/util/log.h:56:72: note: expanded from macro 'wlr_log'
_wlr_log(verb, "[%s:%d] " fmt, _wlr_strip_path(__FILE__), __LINE__, ##__VA_ARGS__)
^~~~~~~~~~~
../sway/desktop/transaction.c:478:5: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
transaction->num_configures, ms,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/wlr/util/log.h:56:72: note: expanded from macro 'wlr_log'
_wlr_log(verb, "[%s:%d] " fmt, _wlr_strip_path(__FILE__), __LINE__, ##__VA_ARGS__)
^~~~~~~~~~~
Diffstat (limited to 'swayidle/main.c')
0 files changed, 0 insertions, 0 deletions