diff options
| author | Mike Barcroft <mike@FreeBSD.org> | 2002-10-11 14:58:34 +0000 |
|---|---|---|
| committer | Mike Barcroft <mike@FreeBSD.org> | 2002-10-11 14:58:34 +0000 |
| commit | 2b7f24d21041e3f89b69c6ba9cb4864d472246ad (patch) | |
| tree | 60ccb9ea10edcf3d8fc8975fb348b756ea207e35 /sys/opencrypto/cryptosoft.c | |
| parent | 890b32ee41df0d6e6a46be59babec6f1bba0606c (diff) | |
Notes
Diffstat (limited to 'sys/opencrypto/cryptosoft.c')
| -rw-r--r-- | sys/opencrypto/cryptosoft.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c index b6ead2a7b0ed..09c429bc6447 100644 --- a/sys/opencrypto/cryptosoft.c +++ b/sys/opencrypto/cryptosoft.c @@ -388,7 +388,7 @@ swcr_encdec(struct cryptodesc *crd, struct swcr_data *sw, caddr_t buf, * we only use it in the while() loop, only if * there are indeed enough data. */ - idat = iov->iov_base + k; + idat = (char *)iov->iov_base + k; while (iov->iov_len >= k + blks && i > 0) { if (crd->crd_flags & CRD_F_ENCRYPT) { |
