Fix some warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20515 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
66067aae65
commit
eb36d9eed6
@ -111,18 +111,18 @@ static struct req_item pl_reset_common_nhx[] = {
|
||||
};
|
||||
|
||||
static status_t usb_send_requ_list(const usb_device *dev, struct req_item *list, size_t len){
|
||||
char buf[10];
|
||||
int i;
|
||||
uint32 i;
|
||||
status_t status;
|
||||
for (i = 0; i < len; i++){
|
||||
char buf[10];
|
||||
bool o = (list[i].requestType == PLRT_O);
|
||||
size_t len = 1;
|
||||
size_t buflen = 1;
|
||||
status = (*usb_m->send_request)(dev,
|
||||
list[i].requestType,
|
||||
list[i].request,
|
||||
list[i].value,
|
||||
list[i].index,
|
||||
0, o?0:buf, o?0:len, &len);
|
||||
0, o?0:buf, o?0:buflen, &buflen);
|
||||
TRACE("usb_send_requ_list: reqs[%d]: %08lx\n", i, status);
|
||||
}
|
||||
return B_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user