fix type of id for sftp_async_write

This commit is contained in:
Ryo Nakamura
2022-11-18 20:33:50 +09:00
parent 9193911e6b
commit 71efeaa4ba

View File

@@ -669,8 +669,8 @@ static int _chunk_copy_local_to_remote_async(struct chunk *c, int fd,
char buf[XFER_BUF_SIZE]; char buf[XFER_BUF_SIZE];
int idx, ret; int idx, ret;
struct { struct {
int id; uint32_t id;
ssize_t len; ssize_t len;
} reqs[nr_ahead]; } reqs[nr_ahead];
if (c->len == 0) if (c->len == 0)