aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-26 09:49:39 +0100
committerGitHub <noreply@github.com>2018-04-26 09:49:39 +0100
commit31857c9ed40a6bf34273b0459d2aa604642d1807 (patch)
tree81b7e1beb54f819abb8f241e9eda1cc9ffd85b02 /xwayland
parent097561d6bf51f61356fb096a8a3c59c2ff1de3fe (diff)
parent085452f9d9bd0ce95ebf2beba91c3d62ab3fd97f (diff)
Merge pull request #910 from agx/printf-ssize_t
Use correct prinf format specifiers for ssize_t
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/selection/incoming.c2
-rw-r--r--xwayland/selection/outgoing.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/xwayland/selection/incoming.c b/xwayland/selection/incoming.c
index ab06f40d..b2df3b53 100644
--- a/xwayland/selection/incoming.c
+++ b/xwayland/selection/incoming.c
@@ -31,7 +31,7 @@ static int xwm_data_source_write(int fd, uint32_t mask, void *data) {
return 1;
}
- wlr_log(L_DEBUG, "wrote %ld (chunk size %ld) of %d bytes",
+ wlr_log(L_DEBUG, "wrote %zd (chunk size %zd) of %d bytes",
transfer->property_start + len,
len, xcb_get_property_value_length(transfer->property_reply));
diff --git a/xwayland/selection/outgoing.c b/xwayland/selection/outgoing.c
index b612b2fb..6d7565e3 100644
--- a/xwayland/selection/outgoing.c
+++ b/xwayland/selection/outgoing.c
@@ -96,7 +96,7 @@ static int xwm_data_source_read(int fd, uint32_t mask, void *data) {
goto error_out;
}
- wlr_log(L_DEBUG, "read %ld bytes (available %zu, mask 0x%x)", len,
+ wlr_log(L_DEBUG, "read %zd bytes (available %zu, mask 0x%x)", len,
available, mask);
transfer->source_data.size = current + len;