diff options
author | Bob Ham <bob.ham@puri.sm> | 2018-06-04 13:20:09 +0000 |
---|---|---|
committer | Bob Ham <bob.ham@puri.sm> | 2018-06-04 13:20:09 +0000 |
commit | eb8b8acca6ea8a440da548c3bee82ac01eb8c99e (patch) | |
tree | 1aeddc233d7a91fc2ad436351a4531dac824a86d /util | |
parent | caf72767a199bf8761c8528d46bb832a16eefe59 (diff) |
wlr_linux_dmabuf: Fix printf conversion specifiers on armhf
The printf conversion specifiers in a call to wl_resource_post_error
do not specify the type correctly on armhf:
../types/wlr_linux_dmabuf.c: In function 'params_add':
../types/wlr_linux_dmabuf.c:104:21: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=]
"sent modifier %lu for plane %u, expected modifier %lu like other planes",
~~^
%llu
To fix this, we use standard printf conversion specifier macros from
inttypes.h.
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions