diff options
author | Tony Finch <dot@dotat.at> | 2011-05-09 11:20:26 +0100 |
---|---|---|
committer | Tony Finch <dot@dotat.at> | 2011-05-09 11:20:26 +0100 |
commit | f1a29782e1db8bae2bdadf1335c3687cb8b820f6 (patch) | |
tree | d239fb06bb95163e770b7ab5ee1c6babd917424f /src | |
parent | 867fcbf59a53d5acbab505bc7670e7d0c29dbc94 (diff) |
malware.c: avoid arithmetic on a void pointer.
Diffstat (limited to 'src')
-rw-r--r-- | src/src/malware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/malware.c b/src/src/malware.c index de8d08d19..8aab6df1d 100644 --- a/src/src/malware.c +++ b/src/src/malware.c @@ -1917,7 +1917,7 @@ static int mksd_scan_packed(int sock, uschar *scan_filename) iov[0].iov_len = 3; iov[1].iov_base = CS scan_filename; iov[1].iov_len = Ustrlen(scan_filename); - iov[2].iov_base = (void *) cmd + 3; + iov[2].iov_base = (void *) (cmd + 3); iov[2].iov_len = 1; if (mksd_writev (sock, iov, 3) < 0) |