projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[LIBUSB]
[reactos.git]
/
reactos
/
lib
/
drivers
/
libusb
/
usb_device.cpp
diff --git
a/reactos/lib/drivers/libusb/usb_device.cpp
b/reactos/lib/drivers/libusb/usb_device.cpp
index
f7255a1
..
de0abab
100644
(file)
--- a/
reactos/lib/drivers/libusb/usb_device.cpp
+++ b/
reactos/lib/drivers/libusb/usb_device.cpp
@@
-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);
}
//