Commit b9c3bdea authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

usbd.sys: Enable compilation with long types.

parent 30a418c3
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = usbd.sys MODULE = usbd.sys
IMPORTLIB = usbd IMPORTLIB = usbd
IMPORTS = ntoskrnl IMPORTS = ntoskrnl
......
...@@ -173,7 +173,7 @@ PUSB_INTERFACE_DESCRIPTOR WINAPI USBD_ParseConfigurationDescriptorEx( ...@@ -173,7 +173,7 @@ PUSB_INTERFACE_DESCRIPTOR WINAPI USBD_ParseConfigurationDescriptorEx(
PUSB_INTERFACE_DESCRIPTOR interface; PUSB_INTERFACE_DESCRIPTOR interface;
TRACE( "(%p, %p, %d, %d, %d, %d, %d)\n", ConfigurationDescriptor, TRACE( "(%p, %p, %ld, %ld, %ld, %ld, %ld)\n", ConfigurationDescriptor,
StartPosition, InterfaceNumber, AlternateSetting, StartPosition, InterfaceNumber, AlternateSetting,
InterfaceClass, InterfaceSubClass, InterfaceProtocol ); InterfaceClass, InterfaceSubClass, InterfaceProtocol );
...@@ -214,7 +214,7 @@ PUSB_COMMON_DESCRIPTOR WINAPI USBD_ParseDescriptors( ...@@ -214,7 +214,7 @@ PUSB_COMMON_DESCRIPTOR WINAPI USBD_ParseDescriptors(
{ {
PUSB_COMMON_DESCRIPTOR common; PUSB_COMMON_DESCRIPTOR common;
TRACE( "(%p, %u, %p, %d)\n", DescriptorBuffer, TotalLength, StartPosition, DescriptorType ); TRACE( "(%p, %lu, %p, %ld)\n", DescriptorBuffer, TotalLength, StartPosition, DescriptorType );
for (common = (PUSB_COMMON_DESCRIPTOR)DescriptorBuffer; for (common = (PUSB_COMMON_DESCRIPTOR)DescriptorBuffer;
((char*)common) + sizeof(USB_COMMON_DESCRIPTOR) <= ((char*)DescriptorBuffer) + TotalLength; ((char*)common) + sizeof(USB_COMMON_DESCRIPTOR) <= ((char*)DescriptorBuffer) + TotalLength;
...@@ -233,7 +233,7 @@ USBD_STATUS WINAPI USBD_ValidateConfigurationDescriptor( ...@@ -233,7 +233,7 @@ USBD_STATUS WINAPI USBD_ValidateConfigurationDescriptor(
PUCHAR *offset, PUCHAR *offset,
ULONG tag ) ULONG tag )
{ {
FIXME( "(%p, %u, %u, %p, %u) partial stub!\n", descr, length, level, offset, tag ); FIXME( "(%p, %lu, %u, %p, %lu) partial stub!\n", descr, length, level, offset, tag );
if (offset) *offset = 0; if (offset) *offset = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment