mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:25:58 +00:00
[USBHUB_NEW] Fix x64 warnings.
This commit is contained in:
parent
a1a65e940a
commit
0dfa7356c8
3 changed files with 9 additions and 9 deletions
|
@ -112,8 +112,8 @@ NTAPI
|
||||||
USBHUB_DumpingIDs(IN PVOID Id)
|
USBHUB_DumpingIDs(IN PVOID Id)
|
||||||
{
|
{
|
||||||
PWSTR Ptr;
|
PWSTR Ptr;
|
||||||
ULONG Length;
|
size_t Length;
|
||||||
ULONG TotalLength = 0;
|
size_t TotalLength = 0;
|
||||||
|
|
||||||
Ptr = Id;
|
Ptr = Id;
|
||||||
DPRINT("USBHUB_DumpingIDs:\n");
|
DPRINT("USBHUB_DumpingIDs:\n");
|
||||||
|
@ -127,6 +127,6 @@ USBHUB_DumpingIDs(IN PVOID Id)
|
||||||
TotalLength += Length;
|
TotalLength += Length;
|
||||||
}
|
}
|
||||||
|
|
||||||
DPRINT("TotalLength: %hu\n", TotalLength);
|
DPRINT("TotalLength: %Iu\n", TotalLength);
|
||||||
DPRINT("\n");
|
DPRINT("\n");
|
||||||
}
|
}
|
||||||
|
|
|
@ -560,12 +560,12 @@ USBH_IoctlGetNodeName(IN PUSBHUB_FDO_EXTENSION HubExtension,
|
||||||
PUSB_NODE_CONNECTION_NAME ConnectionName;
|
PUSB_NODE_CONNECTION_NAME ConnectionName;
|
||||||
PDEVICE_OBJECT PortDevice;
|
PDEVICE_OBJECT PortDevice;
|
||||||
PUSBHUB_PORT_PDO_EXTENSION PortExtension;
|
PUSBHUB_PORT_PDO_EXTENSION PortExtension;
|
||||||
ULONG LengthSkip;
|
size_t LengthSkip;
|
||||||
PWCHAR Buffer;
|
PWCHAR Buffer;
|
||||||
ULONG BufferLength;
|
ULONG BufferLength;
|
||||||
PWCHAR BufferEnd;
|
PWCHAR BufferEnd;
|
||||||
ULONG LengthReturned;
|
ULONG_PTR LengthReturned;
|
||||||
ULONG LengthName;
|
size_t LengthName;
|
||||||
ULONG Length;
|
ULONG Length;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
PIO_STACK_LOCATION IoStack;
|
PIO_STACK_LOCATION IoStack;
|
||||||
|
|
|
@ -1558,7 +1558,7 @@ USBH_PdoQueryId(IN PUSBHUB_PORT_PDO_EXTENSION PortExtension,
|
||||||
WCHAR Buffer[200];
|
WCHAR Buffer[200];
|
||||||
PWCHAR EndBuffer;
|
PWCHAR EndBuffer;
|
||||||
size_t Remaining = sizeof(Buffer);
|
size_t Remaining = sizeof(Buffer);
|
||||||
ULONG Length;
|
size_t Length;
|
||||||
PWCHAR Id = NULL;
|
PWCHAR Id = NULL;
|
||||||
NTSTATUS Status = STATUS_SUCCESS;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
PUSB_DEVICE_DESCRIPTOR DeviceDescriptor;
|
PUSB_DEVICE_DESCRIPTOR DeviceDescriptor;
|
||||||
|
@ -1855,8 +1855,8 @@ USBH_PdoQueryDeviceText(IN PUSBHUB_PORT_PDO_EXTENSION PortExtension,
|
||||||
PWCHAR DeviceText;
|
PWCHAR DeviceText;
|
||||||
UCHAR iProduct = 0;
|
UCHAR iProduct = 0;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
ULONG NumSymbols;
|
size_t NumSymbols;
|
||||||
ULONG Length;
|
size_t Length;
|
||||||
|
|
||||||
DPRINT("USBH_PdoQueryDeviceText ... \n");
|
DPRINT("USBH_PdoQueryDeviceText ... \n");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue