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
39b99d47
Commit
39b99d47
authored
Dec 06, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Remove unneeded casts.
parent
81d96482
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
device.c
dlls/dinput/device.c
+1
-1
dinput_main.c
dlls/dinput/dinput_main.c
+3
-3
No files found.
dlls/dinput/device.c
View file @
39b99d47
...
...
@@ -319,7 +319,7 @@ void fill_DataFormat(void *out, const void *in, const DataFormat *df) {
case
4
:
TRACE
(
"Copying (i) to %d default value %d
\n
"
,
df
->
dt
[
i
].
offset_out
,
df
->
dt
[
i
].
value
);
*
((
int
*
)
(
out_c
+
df
->
dt
[
i
].
offset_out
))
=
(
int
)
df
->
dt
[
i
].
value
;
*
((
int
*
)
(
out_c
+
df
->
dt
[
i
].
offset_out
))
=
df
->
dt
[
i
].
value
;
break
;
default:
...
...
dlls/dinput/dinput_main.c
View file @
39b99d47
...
...
@@ -55,17 +55,17 @@ static const IDirectInput8WVtbl ddi8wvt;
static
inline
IDirectInputImpl
*
impl_from_IDirectInput7W
(
IDirectInput7W
*
iface
)
{
return
(
IDirectInputImpl
*
)
CONTAINING_RECORD
(
iface
,
IDirectInputImpl
,
lpVtbl7w
);
return
CONTAINING_RECORD
(
iface
,
IDirectInputImpl
,
lpVtbl7w
);
}
static
inline
IDirectInputImpl
*
impl_from_IDirectInput8A
(
IDirectInput8A
*
iface
)
{
return
(
IDirectInputImpl
*
)
CONTAINING_RECORD
(
iface
,
IDirectInputImpl
,
lpVtbl8a
);
return
CONTAINING_RECORD
(
iface
,
IDirectInputImpl
,
lpVtbl8a
);
}
static
inline
IDirectInputImpl
*
impl_from_IDirectInput8W
(
IDirectInput8W
*
iface
)
{
return
(
IDirectInputImpl
*
)
CONTAINING_RECORD
(
iface
,
IDirectInputImpl
,
lpVtbl8w
);
return
CONTAINING_RECORD
(
iface
,
IDirectInputImpl
,
lpVtbl8w
);
}
static
inline
IDirectInput7W
*
IDirectInput7W_from_impl
(
IDirectInputImpl
*
iface
)
...
...
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