diff options
Diffstat (limited to 'ssh-fetch.c')
-rw-r--r-- | ssh-fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-fetch.c b/ssh-fetch.c index e3067b878e..1e59cd2008 100644 --- a/ssh-fetch.c +++ b/ssh-fetch.c @@ -24,7 +24,7 @@ static ssize_t force_write(int fd, void *buffer, size_t length) { ssize_t ret = 0; while (ret < length) { - ssize_t size = write(fd, buffer + ret, length - ret); + ssize_t size = write(fd, (char *) buffer + ret, length - ret); if (size < 0) { return size; } |