diff options
| author | Michael Forney <mforney@mforney.org> | 2019-11-04 17:42:19 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-11-04 17:42:19 -0800 |
| commit | 887f731a75aff6a8671d8215d133894893f1d150 (patch) | |
| tree | 3f2952e8aecf848827d9cdf186a3cb5f3ff441fa /pkg/sshfs/patch/0011-Avoid-pointer-arithmetic-on-void.patch | |
| parent | b1c40f5ba1902a9524966cd6de9709486d895039 (diff) | |
sshfs: Update to 3.6.0
Diffstat (limited to 'pkg/sshfs/patch/0011-Avoid-pointer-arithmetic-on-void.patch')
| -rw-r--r-- | pkg/sshfs/patch/0011-Avoid-pointer-arithmetic-on-void.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/pkg/sshfs/patch/0011-Avoid-pointer-arithmetic-on-void.patch b/pkg/sshfs/patch/0011-Avoid-pointer-arithmetic-on-void.patch deleted file mode 100644 index 02c9f94f..00000000 --- a/pkg/sshfs/patch/0011-Avoid-pointer-arithmetic-on-void.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 9d938bc129dfde5c497cc7f4b780ae4ebc6bfb81 Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Tue, 2 Jul 2019 19:52:43 -0700 -Subject: [PATCH] Avoid pointer arithmetic on `void *` - ---- - sshfs.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/sshfs.c b/sshfs.c -index 9c65cc4..c65fa73 100644 ---- a/sshfs.c -+++ b/sshfs.c -@@ -1173,7 +1173,7 @@ static int do_write(struct iovec *iov, size_t count) - do { - if ((unsigned) res < iov->iov_len) { - iov->iov_len -= res; -- iov->iov_base += res; -+ iov->iov_base = (char *) iov->iov_base + res; - break; - } else { - res -= iov->iov_len; --- -2.22.0 - |
