mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[LIBUSB]
- Fix broken pointer arithmetic svn path=/trunk/; revision=56327
This commit is contained in:
parent
819033bac0
commit
0056538299
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue