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
5f160e56
Commit
5f160e56
authored
Mar 05, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32.drv: Assign to structs instead of using memcpy.
parent
3e3ce1fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wavemap.c
dlls/msacm32.drv/wavemap.c
+2
-2
No files found.
dlls/msacm32.drv/wavemap.c
View file @
5f160e56
...
...
@@ -434,7 +434,7 @@ static DWORD wodGetPosition(WAVEMAPDATA* wom, LPMMTIME lpTime, DWORD dwParam2)
MMTIME
timepos
;
TRACE
(
"(%p %p %08x)
\n
"
,
wom
,
lpTime
,
dwParam2
);
memcpy
(
&
timepos
,
lpTime
,
sizeof
(
timepos
))
;
timepos
=
*
lpTime
;
/* For TIME_MS, we're going to recalculate using TIME_BYTES */
if
(
lpTime
->
wType
==
TIME_MS
)
...
...
@@ -988,7 +988,7 @@ static DWORD widGetPosition(WAVEMAPDATA* wim, LPMMTIME lpTime, DWORD dwParam2)
MMTIME
timepos
;
TRACE
(
"(%p %p %08x)
\n
"
,
wim
,
lpTime
,
dwParam2
);
memcpy
(
&
timepos
,
lpTime
,
sizeof
(
timepos
))
;
timepos
=
*
lpTime
;
/* For TIME_MS, we're going to recalculate using TIME_BYTES */
if
(
lpTime
->
wType
==
TIME_MS
)
...
...
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