aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/renderer.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-01-26 20:59:47 +0100
committerGuido Günther <agx@sigxcpu.org>2018-01-27 12:29:56 +0100
commitd7dfbd23faf0b72a58da58f060a98e9b0023256b (patch)
tree518b92ae08a2609451005e35f4606804dcfd6fa0 /backend/drm/renderer.c
parent1633b8d793515464b56fe58d1eb62345db04c119 (diff)
drm: Use ptrdiff_t instead of intmax_t in format string
since we're looking at pointer differences. Otherwise the build fails on arm like In file included from ../backend/drm/drm.c:19:0: ../include/wlr/util/log.h:34:17: error: format '%jd' expects argument of type 'intmax_t', but argument 7 has type 'int' [-Werror=format=] _wlr_log(verb, "[%s:%d] " fmt, _strip_path(__FILE__), __LINE__, ##__VA_ARGS__) ^ ../backend/drm/drm.c:462:2: note: in expansion of macro 'wlr_log' wlr_log(L_DEBUG, "%s: crtc=%ju ovr=%jd pri=%jd cur=%jd", conn->output.name, ^~~~~~~ ../backend/drm/drm.c:462:39: note: format string is defined here wlr_log(L_DEBUG, "%s: crtc=%ju ovr=%jd pri=%jd cur=%jd", conn->output.name, ~~^ %d
Diffstat (limited to 'backend/drm/renderer.c')
0 files changed, 0 insertions, 0 deletions