diff options
Diffstat (limited to 'sys/coda')
-rw-r--r-- | sys/coda/coda_venus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/coda/coda_venus.c b/sys/coda/coda_venus.c index af6b8a9..66a0b19 100644 --- a/sys/coda/coda_venus.c +++ b/sys/coda/coda_venus.c @@ -274,7 +274,7 @@ venus_ioctl(void *mdp, ViceFid *fid, inp->len = iap->vi.in_size; inp->data = (char *)(sizeof (struct coda_ioctl_in)); - error = copyin(iap->vi.in, (char*)inp + (int)inp->data, + error = copyin(iap->vi.in, (char*)inp + (long)inp->data, iap->vi.in_size); if (error) { CODA_FREE(inp, coda_ioctl_size); @@ -289,7 +289,7 @@ venus_ioctl(void *mdp, ViceFid *fid, if (outp->len > iap->vi.out_size) { error = EINVAL; } else { - error = copyout((char *)outp + (int)outp->data, + error = copyout((char *)outp + (long)outp->data, iap->vi.out, iap->vi.out_size); } } @@ -377,7 +377,7 @@ venus_readlink(void *mdp, ViceFid *fid, if (!error) { CODA_ALLOC(*str, char *, outp->count); *len = outp->count; - bcopy((char *)outp + (int)outp->data, *str, *len); + bcopy((char *)outp + (long)outp->data, *str, *len); } CODA_FREE(inp, coda_readlink_size); @@ -634,7 +634,7 @@ venus_readdir(void *mdp, ViceFid *fid, Osize = VC_MAXMSGSIZE; error = coda_call(mdp, Isize, &Osize, (char *)inp); if (!error) { - bcopy((char *)outp + (int)outp->data, buffer, outp->size); + bcopy((char *)outp + (long)outp->data, buffer, outp->size); *len = outp->size; } |