Merge pull request #910 from agx/printf-ssize_t
Use correct prinf format specifiers for ssize_t
This commit is contained in:
commit
31857c9ed4
|
@ -31,7 +31,7 @@ static int xwm_data_source_write(int fd, uint32_t mask, void *data) {
|
||||||
return 1;
|
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,
|
transfer->property_start + len,
|
||||||
len, xcb_get_property_value_length(transfer->property_reply));
|
len, xcb_get_property_value_length(transfer->property_reply));
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ static int xwm_data_source_read(int fd, uint32_t mask, void *data) {
|
||||||
goto error_out;
|
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);
|
available, mask);
|
||||||
|
|
||||||
transfer->source_data.size = current + len;
|
transfer->source_data.size = current + len;
|
||||||
|
|
Loading…
Reference in New Issue