mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[LIBUSB]
- Fix broken pointer arithmetic svn path=/trunk/; revision=56327
This commit is contained in:
@@ -1124,7 +1124,7 @@ CUSBDevice::SelectConfiguration(
|
||||
}
|
||||
|
||||
// move offset
|
||||
InterfaceInfo = (PUSBD_INTERFACE_INFORMATION)((ULONG_PTR)PtrToUlong(InterfaceInfo) + InterfaceInfo->Length);
|
||||
InterfaceInfo = (PUSBD_INTERFACE_INFORMATION)((PUCHAR)InterfaceInfo + InterfaceInfo->Length);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user