diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/usb2impl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/usb2impl.c b/api/usb2impl.c index 5fb785a..f284328 100644 --- a/api/usb2impl.c +++ b/api/usb2impl.c @@ -134,7 +134,7 @@ Dword Usb2_writeControlBus ( usb_sndbulkpipe(usb_get_dev(udevs), 0x02), buffer, bufferLength, - &act_len, + (int *) &act_len, 100000); if (ret) printk(" Usb2_writeControlBus fail : %d!\n", (int) ret); @@ -156,7 +156,7 @@ Dword Usb2_readControlBus ( usb_rcvbulkpipe(usb_get_dev(udevs),129), buffer, 125, - &nBytesRead, + (int *) &nBytesRead, 100000); |