usbd.sys: Avoid signed-unsigned integer comparisons.
This commit is contained in:
parent
0159558560
commit
ec128b7324
|
@ -105,7 +105,7 @@ PURB WINAPI USBD_CreateConfigurationRequestEx(
|
||||||
interfaceInfo = &urb->u.UrbSelectConfiguration.Interface;
|
interfaceInfo = &urb->u.UrbSelectConfiguration.Interface;
|
||||||
for (interfaceEntry = InterfaceList; interfaceEntry->InterfaceDescriptor; interfaceEntry++)
|
for (interfaceEntry = InterfaceList; interfaceEntry->InterfaceDescriptor; interfaceEntry++)
|
||||||
{
|
{
|
||||||
int i;
|
ULONG i;
|
||||||
USB_INTERFACE_DESCRIPTOR *currentInterface;
|
USB_INTERFACE_DESCRIPTOR *currentInterface;
|
||||||
USB_ENDPOINT_DESCRIPTOR *endpointDescriptor;
|
USB_ENDPOINT_DESCRIPTOR *endpointDescriptor;
|
||||||
interfaceInfo->InterfaceNumber = interfaceEntry->InterfaceDescriptor->bInterfaceNumber;
|
interfaceInfo->InterfaceNumber = interfaceEntry->InterfaceDescriptor->bInterfaceNumber;
|
||||||
|
|
Loading…
Reference in New Issue