diff options
author | Guido Guenther <agx@sigxcpu.org> | 2018-04-26 08:40:18 +0000 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-04-26 10:46:11 +0200 |
commit | 085452f9d9bd0ce95ebf2beba91c3d62ab3fd97f (patch) | |
tree | 000da627400c1c11da9e432a22795a58976d0f2d /xwayland/sockets.c | |
parent | a6790d45b2b25f38754403fe692ee9304aefc5fc (diff) |
Use correct printf format specifiers for ssize_t
This unbreaks the build on armhf that otherwise fails like
../xwayland/selection/incoming.c: In function 'xwm_data_source_write':
../include/wlr/util/log.h:34:17: error: format '%ld' expects argument of type 'long int', but argument 6 has type 'ssize_t {aka int}' [-Werror=format=]
_wlr_log(verb, "[%s:%d] " fmt, wlr_strip_path(__FILE__), __LINE__, ##__VA_ARGS__)
^
../xwayland/selection/incoming.c:34:2: note: in expansion of macro 'wlr_log'
wlr_log(L_DEBUG, "wrote %zd (chunk size %ld) of %d bytes",
^~~~~~~
../xwayland/selection/incoming.c:34:44: note: format string is defined here
wlr_log(L_DEBUG, "wrote %zd (chunk size %ld) of %d bytes",
~~^
%d
Diffstat (limited to 'xwayland/sockets.c')
0 files changed, 0 insertions, 0 deletions