summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2012-02-21 15:56:32 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2012-02-21 15:56:32 (GMT)
commitd4d33edc348288ac00daf5fea7f1b7b291f2a3c9 (patch)
treebf1f75316eade6b15201d2502d7d16668353b9ec /api
parent44c4451c208b7f89e130506281e463c11f3c3118 (diff)
downloadAF903x_SRC-d4d33edc348288ac00daf5fea7f1b7b291f2a3c9.zip
AF903x_SRC-d4d33edc348288ac00daf5fea7f1b7b291f2a3c9.tar.gz
AF903x_SRC-d4d33edc348288ac00daf5fea7f1b7b291f2a3c9.tar.bz2
Fixed some build issues
(lots remaining)
Diffstat (limited to 'api')
-rw-r--r--api/usb2impl.c4
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);