aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-04 14:35:56 +0100
committerGitHub <noreply@github.com>2018-06-04 14:35:56 +0100
commitf11ef263797541898dd359789a4a695a4a7225ce (patch)
tree1aeddc233d7a91fc2ad436351a4531dac824a86d
parentcaf72767a199bf8761c8528d46bb832a16eefe59 (diff)
parenteb8b8acca6ea8a440da548c3bee82ac01eb8c99e (diff)
Merge pull request #1034 from rah2501/armhf-printf-conversion-fix
wlr_linux_dmabuf: Fix printf conversion specifiers on armhf
-rw-r--r--types/wlr_linux_dmabuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/types/wlr_linux_dmabuf.c b/types/wlr_linux_dmabuf.c
index 6e716986..3b4fc78b 100644
--- a/types/wlr_linux_dmabuf.c
+++ b/types/wlr_linux_dmabuf.c
@@ -101,7 +101,8 @@ static void params_add(struct wl_client *client,
if (buffer->has_modifier && modifier != buffer->attributes.modifier) {
wl_resource_post_error(params_resource,
ZWP_LINUX_BUFFER_PARAMS_V1_ERROR_INVALID_FORMAT,
- "sent modifier %lu for plane %u, expected modifier %lu like other planes",
+ "sent modifier %" PRIu64 " for plane %u, expected"
+ " modifier %" PRIu64 " like other planes",
modifier, plane_idx, buffer->attributes.modifier);
close(fd);
return;