summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_mbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usb_mbuf.c')
-rw-r--r--sys/dev/usb/usb_mbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_mbuf.c b/sys/dev/usb/usb_mbuf.c
index 8453609..f57d274 100644
--- a/sys/dev/usb/usb_mbuf.c
+++ b/sys/dev/usb/usb_mbuf.c
@@ -36,12 +36,12 @@
*------------------------------------------------------------------------*/
void *
usb2_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq,
- size_t block_size, uint16_t nblocks)
+ usb_size_t block_size, uint16_t nblocks)
{
struct usb_mbuf *m_ptr;
uint8_t *data_ptr;
void *free_ptr = NULL;
- size_t alloc_size;
+ usb_size_t alloc_size;
/* align data */
block_size += ((-block_size) & (USB_HOST_ALIGN - 1));
OpenPOWER on IntegriCloud