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
d64de0e2
Commit
d64de0e2
authored
Mar 01, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebus.sys: Remove useless casts to self.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e0419391
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bus_udev.c
dlls/winebus.sys/bus_udev.c
+1
-1
main.c
dlls/winebus.sys/main.c
+1
-1
No files found.
dlls/winebus.sys/bus_udev.c
View file @
d64de0e2
...
...
@@ -1086,7 +1086,7 @@ static int parse_uevent_info(const char *uevent, DWORD *vendor_id,
/* The caller has to free the serial number */
if
(
*
value
)
{
*
serial_number
=
(
WCHAR
*
)
strdupAtoW
(
value
);
*
serial_number
=
strdupAtoW
(
value
);
found_serial
=
1
;
}
}
...
...
dlls/winebus.sys/main.c
View file @
d64de0e2
...
...
@@ -380,7 +380,7 @@ static NTSTATUS build_device_relations(DEVICE_RELATIONS **devices)
i
=
0
;
LIST_FOR_EACH_ENTRY
(
ptr
,
&
pnp_devset
,
struct
pnp_device
,
entry
)
{
(
*
devices
)
->
Objects
[
i
]
=
(
DEVICE_OBJECT
*
)
ptr
->
device
;
(
*
devices
)
->
Objects
[
i
]
=
ptr
->
device
;
i
++
;
}
LeaveCriticalSection
(
&
device_list_cs
);
...
...
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