usb(4): Fix build on 32-bit platforms after 0ec590d24e
.
Cast pointer to "long" for now, to match the fueword() prototype. MFC after: 1 week Sponsored by: NVIDIA Networking
This commit is contained in:
parent
34077a8ed3
commit
8b60419b79
@ -1084,7 +1084,7 @@ ugen_fs_getbuffer(void **uptrp, struct usb_fifo *f, void *buffer,
|
||||
u.ppBuffer = buffer;
|
||||
switch (f->fs_ep_sz) {
|
||||
case sizeof(struct usb_fs_endpoint):
|
||||
if (fueword(u.ppBuffer + n, (uintptr_t *)uptrp) != 0)
|
||||
if (fueword(u.ppBuffer + n, (long *)uptrp) != 0)
|
||||
return (EFAULT);
|
||||
return (0);
|
||||
#ifdef COMPAT_FREEBSD32
|
||||
|
Loading…
Reference in New Issue
Block a user