vss_get_header wants an unsigned, not a size_t. Fixes
dccp_send.c:170: warning: passing arg 1 of `vss_get_header' from incompatible pointer type
struct dccp_client *dc, *tmp;
int ret;
char *header_buf;
- size_t header_len;
+ unsigned header_len;
if (listen_fd < 0 || !len)
return;
ret = dccp_write(dc->fd, header_buf, header_len);
if (ret != header_len) {
int err = errno;
- PARA_ERROR_LOG("header write: %d/%zu (%s)\n",
+ PARA_ERROR_LOG("header write: %d/%u (%s)\n",
ret, header_len, ret < 0?
strerror(err) : "");
dccp_shutdown_client(dc);