aboutsummaryrefslogtreecommitdiff
path: root/include/util/signal.h
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2018-04-26 08:40:18 +0000
committerGuido Günther <agx@sigxcpu.org>2018-04-26 10:46:11 +0200
commit085452f9d9bd0ce95ebf2beba91c3d62ab3fd97f (patch)
tree000da627400c1c11da9e432a22795a58976d0f2d /include/util/signal.h
parenta6790d45b2b25f38754403fe692ee9304aefc5fc (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 'include/util/signal.h')
0 files changed, 0 insertions, 0 deletions