Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b9c3bdea
Commit
b9c3bdea
authored
Feb 21, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usbd.sys: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
30a418c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
dlls/usbd.sys/Makefile.in
+0
-1
usbd.c
dlls/usbd.sys/usbd.c
+3
-3
No files found.
dlls/usbd.sys/Makefile.in
View file @
b9c3bdea
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
usbd.sys
MODULE
=
usbd.sys
IMPORTLIB
=
usbd
IMPORTLIB
=
usbd
IMPORTS
=
ntoskrnl
IMPORTS
=
ntoskrnl
...
...
dlls/usbd.sys/usbd.c
View file @
b9c3bdea
...
@@ -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, %l
d)
\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, %l
d)
\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, %l
u) partial stub!
\n
"
,
descr
,
length
,
level
,
offset
,
tag
);
if
(
offset
)
*
offset
=
0
;
if
(
offset
)
*
offset
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment