Cast argument to avoid warning.

Reviewed by:	Nick Hibma <n_hibma>
This commit is contained in:
Eivind Eklund 1999-01-12 12:46:36 +00:00
parent f65b39828c
commit 037e944431

View File

@ -835,7 +835,7 @@ ugenioctl(dev, cmd, addr, flag, p)
uio.uio_segflg = UIO_USERSPACE;
uio.uio_rw = UIO_READ;
uio.uio_procp = p;
error = uiomove(cdesc, len, &uio);
error = uiomove((caddr_t)cdesc, len, &uio);
free(cdesc, M_TEMP);
return (error);
}